ByteScout PDF To HTML SDK - VBScript - Change PDF To HTML Output Page Width - ByteScout

ByteScout PDF To HTML SDK – VBScript – Change PDF To HTML Output Page Width

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF To HTML SDK – VBScript – Change PDF To HTML Output Page Width

How to change PDF to HTML output page width in VBScript and ByteScout PDF To HTML SDK

This tutorial will show how to change PDF to HTML output page width in VBScript

Source code documentation samples provide quick and easy way to add a required functionality into your application. What is ByteScout PDF To HTML SDK? It is the SDK for PDF to HTML conversin. Generates static HTML version of input PDF and reconstructs all visual layout, text positions, vector and raster drawings, images, and form elements. Generated HTML requires no special software and can be viewed in any Internet browser. It can help you to change PDF to HTML output page width in your VBScript application.

This rich sample source code in VBScript for ByteScout PDF To HTML SDK includes the number of functions and options you should do calling the API to change PDF to HTML output page width. Just copy and paste the code into your VBScript application’s code and follow the instruction. This basic programming language sample code for VBScript will do the whole work for you to change PDF to HTML output page width.

Trial version of ByteScout PDF To HTML SDK is available for free. Source code samples are included to help you with your VBScript app.

Try ByteScout PDF To HTML SDK today: Get 60 Day Free Trial or sign up for Web API

ExtractHTML.vbs
      
' Create Bytescout.PDF2HTML.HTMLExtractor object Set extractor = CreateObject("Bytescout.PDF2HTML.HTMLExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Set HTML with CSS extraction mode extractor.ExtractionMode = 1 ' set output width to 200 pixels extractor.OutputPageWidth = 200 ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\sample2.pdf") ' Save extracted HTML to file extractor.SaveHtmlToFile_2 "output.html" ' Open output file in default associated application Set shell = CreateObject("WScript.Shell") shell.Run "output.html", 1, false Set shell = Nothing Set extractor = Nothing

Try ByteScout PDF To HTML SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout PDF To HTML SDK page

Explore ByteScout PDF To HTML SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next