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: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public class PdfToHtmlConverter
Inheritance
Object    PdfToHtmlConverter

Constructors

PdfToHtmlConverter Constructs a PDF to HTML converter which will connect to localhost on the default port
PdfToHtmlConverter(String) Constructs a PDF to HTML converter which will connect to the server specified by IP or by name on the default port
PdfToHtmlConverter(Boolean, String) Constructs a PDF to HTML converter which will connect to a web service URL
PdfToHtmlConverter(String, UInt32) Constructs a PDF to HTML converter which will connect to the server specified by IP or by name on the specified port

Properties

ClientProxy You can set this property with an object implementing the IWebProxy interface to be used when accessing the server through a proxy server. This property does not have any effect when using a TCP Service
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.
Port The server port number
Resolution The resolution in DPI of the HTML images. The default value is 150
RunTimeoutSec The maximum time allowed for this tool to run
Server The server IP or name
ServicePassword Gets or sets the HTML to PDF converter service password. You have to set this property if the HTML to PDF service is password protected.
UserPassword The user password to be used to open a password protected PDF document
UseWebService A flag indicating if the client library will call the Web service or the TCP service to perform the operation
WebServiceUrl The web service URL
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
EqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as a hash function for a particular type.
(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
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(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