ByteScout PDF To HTML SDK - VBScript - Convert PDF To HTML (Simple Layout) - ByteScout

ByteScout PDF To HTML SDK – VBScript – Convert PDF To HTML (Simple Layout)

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF To HTML SDK – VBScript – Convert PDF To HTML (Simple Layout)

How to convert PDF to HTML (simple layout) in VBScript and ByteScout PDF To HTML SDK

Write code in VBScript to convert PDF to HTML (simple layout) with this step-by-step tutorial

The documentation is designed to help you to implement the features on your side. ByteScout PDF To HTML SDK is the SDK for PDF to HTML conversin. Generates static HTML output from source PDF and re-creates all visual layout, text positions, vector and raster drawings, images, and form elements. Generated HTML requires can be viewed in any Internet browser with no other software or plugins required and you can use it to convert PDF to HTML (simple layout) with VBScript.

You will save a lot of time on writing and testing code as you may just take the VBScript code from ByteScout PDF To HTML SDK for convert PDF to HTML (simple layout) below and use it in your application. In your VBScript project or application you may simply copy & paste the code and then run your app! You can use these VBScript sample examples in one or many applications.

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

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

ExtractHTML.vbs
      
' Create Bytescout.PDF2HTML.HTMLExtractor object Set extractor = CreateObject("Bytescout.PDF2HTML.HTMLExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Set plain HTML extraction mode extractor.ExtractionMode = 0 ' 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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF To HTML SDK Home Page

Explore ByteScout PDF To HTML SDK Documentation

Explore Samples

Sign Up for ByteScout PDF To HTML SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

ExtractHTMLFromPage.vbs
      
' Create Bytescout.PDF2HTML.HTMLExtractor object Set extractor = CreateObject("Bytescout.PDF2HTML.HTMLExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Set plain HTML extraction mode extractor.ExtractionMode = 0 ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\sample2.pdf") ' Convert 2-nd page to HTML and save it to file extractor.SaveHtmlPageToFile 1, "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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF To HTML SDK Home Page

Explore ByteScout PDF To HTML SDK Documentation

Explore Samples

Sign Up for ByteScout PDF To HTML SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF To HTML SDK Home Page

Explore ByteScout PDF To HTML SDK Documentation

Explore Samples

Sign Up for ByteScout PDF To HTML SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next