- DocImaging for C#
- DocImaging for VB.NET
- KNOWLEDGE BASE
Guide for VB.NET
Core Document Formats
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!
VB.NET PDF to HTML Webpage Conversion
How to convert source PDF document to HTML webpage in VB.NET class application? Some free PDF document readers like Adobe Reader does not contain the function to convert PDF document file to HTML webpage. Some other PDF viewers may support PDF to HTML conversion, but the converted HTML files lost the original format. On the contrary, this VB.NET PDF to HTML converter SDK can not only allow VB.NET developers to convert PDF to standard HTML webpage but also maintain the content and layout of original PDF file.
Why do we need to convert PDF document to HTML webpage using VB.NET programming code? PDF, known as Portable Document Format, has been widely used by enterprises and institutions for document viewing and exchanging. But if you want to publish a PDF document file in web site, there are two factors that you may need to consider. One is that compared with HTML file, PDF file (a document format that can not be easily edited), is less searchable for search engines. The other is the crashing problem when user is visiting the PDF file using web browser.
This online tutorial page for VB.NET PDF to HTML webpage converter SDK is divided into following sections.
VB.NET PDF to HTML Converter Features
VB.NET PDF to HTML Converting DLLs
There are two dlls that will be used in the process of VB.NET PDF to HTML conversion, namely, RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.PDF.dll. The later one contains full APIs for VB.NET developers to edit and process PDF document.
Apart from this VB.NET PDF to HTML converting control, RasterEdge also offers other converting add-ons, like VB.NET TIFF to HTML converter control, VB.NET Word to HTML conversion control, VB.NET PDF to JPEG converting add-on. More VB.NET PDF converting tutorial pages can be found here.
VB.NET PDF to HTML Converting Method
Similar to other .NET document image converting methods, this VB.NET PDF to HTML converter control works in the same way: open source PDF file using VB.NET PDF decoding API, then convert it to REimage and finally save REimage to HTML.
Public Sub ConvertPdftoHtml(PDFInputFile As String, PDFPageNumber As Integer, HTMLOutputFile As String)
VB.NET Code to Convert PDF to HTML
Here we offer you a VB.NET programming demo code, using which you can easily convert the second page of source PDF file to editable HTML webpage in .NET class application. If you want to convert all source PDF document pages to separate HTML files at a time, this VB.NET PDF to HTML converter control is also suitable.
VB.NET PDF to HTML Converter FAQs
Q: Can I use this VB.NET PDF to HTML converter SDK to convert target PDF document file to HTML webpage while keeping the original images?
A: Sorry, this VB.NET PDF to HTML converter SDK does not support converting PDF to HTML file while preserving images. But other content elements, like links, texts and font styles, can be maintained in the converted HTML file.