PdfToHtmlConverter Class

This class encapsulates the PDF to HTML Converter functionality and allows you to convert the PDF document pages to HTML documents

Definition

Namespace: EvoPdf.PdfToHtml
Assembly: EvoPdfToHtml_NetCore (in EvoPdfToHtml_NetCore.dll) Version: 14.0.0
C#
public class PdfToHtmlConverter
Inheritance
Object    PdfToHtmlConverter

Constructors

PdfToHtmlConverter The PDF to HTML constructor

Properties

CreateIndexFile A flag controlling if a HTML index file is also created when the PDF pages are converted to HTML files. The default value is true
IgnoreHiddenText A flag controlling if the hidden text from PDF is rendered to HTML. The default value is true
ImpersonationOptions The impersonation options used during tool execution
LicenseKey Gets or sets the license key string received from vendor. If this property is null the tool will automatically enter in evaluation mode
OwnerPassword The owner password to be used to open a password protected PDF document
PdfDocumentInfo Gets the object encapsulating the PDF document properties. This objects is populated after tool execution finished
PdfToolFullPath Sets the full path of the .dat helper file. By default this file is expected to be found in the same folder with .dll assembly.
Resolution The resolution in DPI of the HTML images. The default value is 150
RunTimeoutSec The maximum time allowed for this tool to run
UserPassword The user password to be used to open a password protected PDF document
Zoom The zoom percentage of the generated HTML content. The default value is 100

Methods

ConvertPdfPagesToHtml(Byte) Converts all the pages in a PDF document to HTML documents
ConvertPdfPagesToHtml(Stream) Converts all the pages of PDF document in a stream to HTML documents
ConvertPdfPagesToHtml(String) Converts all the pages of a PDF file to HTML documents
ConvertPdfPagesToHtml(Byte, Int32) Converts the pages of a PDF document to HTML documents starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToHtml(Stream, Int32) Converts the pages of a PDF document in a stream to HTML documents starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToHtml(String, Int32) Converts the pages of a PDF file to HTML documents starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToHtml(Byte, Int32, Int32) Converts a range of pages of a PDF document to HTML documents
ConvertPdfPagesToHtml(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to HTML documents
ConvertPdfPagesToHtml(String, Int32, Int32) Converts a range of pages of a PDF file to HTML documents
ConvertPdfPagesToHtmlFile(Byte, String, String) Converts all the pages in a PDF document to HTML files. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(Stream, String, String) Converts all the pages of PDF document in a stream to HTML files. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(String, String, String) Converts all the pages of a PDF file to HTML files. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(Byte, Int32, String, String) Converts the pages of a PDF document to HTML files starting from a given PDF page number to the end of the PDF document. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(Stream, Int32, String, String) Converts the pages of a PDF document in a stream to HTML files starting from a given PDF page number to the end of the PDF document. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(String, Int32, String, String) Converts the pages of a PDF file to HTML files starting from a given PDF page number to the end of the PDF document. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(Byte, Int32, Int32, String, String) Converts a range of pages of a PDF document to HTML files. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(Stream, Int32, Int32, String, String) Converts a range of pages of a PDF document in a stream to HTML files. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlFile(String, Int32, Int32, String, String) Converts a range of pages of a PDF file to HTML files. You can use the CreateIndexFile property to enable or disable the creation of a HTML index file
ConvertPdfPagesToHtmlInEvent(Byte) Converts all the pages in a PDF document to HTML documents and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(Stream) Converts all the pages of PDF document in a stream to HTML documents and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(String) Converts all the pages of a PDF file to HTML documents and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(Byte, Int32) Converts the pages of a PDF document to HTML documents starting from a given PDF page number to the end of the PDF document and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(Stream, Int32) Converts the pages of a PDF document in a stream to HTML documents starting from a given PDF page number to the end of the PDF document and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(String, Int32) Converts the pages of a PDF file to HTML documents starting from a given PDF page number to the end of the PDF document and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(Byte, Int32, Int32) Converts a range of pages of a PDF document to HTML documents and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to HTML documents and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
ConvertPdfPagesToHtmlInEvent(String, Int32, Int32) Converts a range of pages of a PDF file to HTML documents and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted HTML document
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetPageCount(Byte) Gets the number of PDF pages of a PDF document
GetPageCount(Stream) Gets the number of pages of a PDF document in a stream
GetPageCount(String) Gets the number of PDF pages of a PDF file
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

Events

PageConvertedEvent The event which is raised immediately after a PDF page was converted. You can raise this event by calling the methods with 'InEvent' suffix like ConvertPdfPagesToHtmlInEvent(String)

See Also