With this source code sample you may quickly learn how to convert PDF to HTML (complex layout) from all pages in VB.NET. ByteScout PDF To HTML SDK can convert PDF to HTML (complex layout) from all pages. It can be used from VB.NET. ByteScout PDF To HTML SDK 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.
This code snippet below for ByteScout PDF To HTML SDK works best when you need to quickly convert PDF to HTML (complex layout) from all pages in your VB.NET application. Follow the instructions from the scratch to work and copy the VB.NET code. Use of ByteScout PDF To HTML SDK in VB.NET is also explained in the documentation included along with the product.
You can download free trial version of ByteScout PDF To HTML SDK from our website to see and try many others source code samples for VB.NET.
  On-demand (REST Web API) version: 
   Web API (on-demand version)
  
  On-premise offline SDK for Windows: 
   60 Day Free Trial (on-premise)
      Imports Bytescout.PDF2HTML
Class Program
    Friend Shared Sub Main(args As String())
        ' Create Bytescout.PDF2HTML.HTMLExtractor instance
        Dim extractor As New HTMLExtractor()
        extractor.RegistrationName = "demo"
        extractor.RegistrationKey = "demo"
        ' Load sample PDF document
        extractor.LoadDocumentFromFile("sample2.pdf")
        ' Set HTML with CSS extraction mode
        extractor.ExtractionMode = HTMLExtractionMode.HTMLWithCSS
        ' Save extracted HTML to file
        extractor.SaveHtmlToFile("output.html")
        ' Cleanup
        extractor.Dispose()
        ' Open output file in default associated application
        System.Diagnostics.Process.Start("output.html")
    End Sub
End Class
    
    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
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples