This prolific sample source code in VB.NET for ByteScout PDF Suite contains various functions and other necessary options you should do calling the API to convert pdf to html (simple layout) from all pages with pdf to html sdk. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Enjoy writing a code with ready-to-use sample VB.NET codes.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
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 plain HTML extraction mode extractor.ExtractionMode = HTMLExtractionMode.PlainHTML ' 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