To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!
> .NET Imaging SDK
> Convert PDF to HTML
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.
- Key features of VB.NET PDF to HTML converter SDK
- Brief summaries on VB.NET PDF to HTML converting dlls
- VB.NET method for fast and high-quality PDF to HTML conversion
- VB.NET programming example to convert PDF document to HTML webpage
- Frequently asked questions about RasterEdge VB.NET PDF to HTML converter SDK
VB.NET PDF to HTML Converter Features
- Able to convert a multi-page PDF document to separate HTML files instantly using VB.NET code
- Perform high fidelity PDF to HTML conversion in VB.NET Web applications and VB.NET Windows projects
- Converted HTML files preserve all the contents of source PDF file, like font style and anchors, in VB.NET class application
- Professional .NET solution that is designed to convert PDF file to HTML web page using VB.NET code
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.
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.
Dim PDF As New RasterEdgeImaging()
Public Sub ConvertPdftoHtml()
If True Then
PDFInputFile = ("C:/1.pdf")
PDFPageNumber = "1"
HTMLOutputFile = OutputFormat.html
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.
Recommend this to Google+