This sample source code below will display you how to convert pdf to html (complex layout) from page with pdf to html sdk in VB.NET. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to convert pdf to html (complex layout) from page with pdf to html sdk with VB.NET.
The SDK samples given below describe how to quickly make your application do convert pdf to html (complex layout) from page with pdf to html sdk in VB.NET with the help of ByteScout Premium Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Applying VB.NET application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
Trial version of ByteScout Premium Suite is available for free. Source code samples are included to help you with your VB.NET app.
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" ' Set HTML with CSS extraction mode extractor.ExtractionMode = HTMLExtractionMode.HTMLWithCSS ' Load sample PDF document extractor.LoadDocumentFromFile("sample2.pdf") ' Convert 2-nd page to HTML and save it to file extractor.SaveHtmlPageToFile(1, "output.html") ' Cleanup extractor.Dispose() ' Open output file in default associated application System.Diagnostics.Process.Start("output.html") End Sub End Class