PdfToImageConverter Class

This class encapsulates the PDF to Image Converter functionality and allows you to convert the PDF document pages to images

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public class PdfToImageConverter
Inheritance
Object    PdfToImageConverter

Constructors

PdfToImageConverter Constructs a PDF to Image converter which will connect to localhost on the default port
PdfToImageConverter(String) Constructs a PDF to Image converter which will connect to the server specified by IP or by name on the default port
PdfToImageConverter(Boolean, String) Constructs a PDF to Image converter which will connect to a web service URL
PdfToImageConverter(String, UInt32) Constructs a PDF to Image 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
ColorSpace The color space of the resulted images. The default value is RGB
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 resulted 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

Methods

ConvertPdfPagesToImage(Byte) Converts all the pages in a PDF document to image objects
ConvertPdfPagesToImage(Stream) Converts all the pages of PDF document in a stream to image objects
ConvertPdfPagesToImage(String) Converts all the pages of a PDF file to image objects
ConvertPdfPagesToImage(Byte, Int32) Converts the pages of a PDF document to image objects starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToImage(Stream, Int32) Converts the pages of a PDF document in a stream to image objects starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToImage(String, Int32) Converts the pages of a PDF file to image objects starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToImage(Byte, Int32, Int32) Converts a range of pages of a PDF document to image objects
ConvertPdfPagesToImage(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to image objects
ConvertPdfPagesToImage(String, Int32, Int32) Converts a range of pages of a PDF file to image objects
ConvertPdfPagesToImageFile(Byte, String, String) Converts all the pages in a PDF document to image files
ConvertPdfPagesToImageFile(Stream, String, String) Converts all the pages of PDF document in a stream to image files
ConvertPdfPagesToImageFile(String, String, String) Converts all the pages of a PDF file to image files
ConvertPdfPagesToImageFile(Byte, Int32, String, String) Converts the pages of a PDF document to image files starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToImageFile(Stream, Int32, String, String) Converts the pages of a PDF document in a stream to image files starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToImageFile(String, Int32, String, String) Converts the pages of a PDF file to image files starting from a given PDF page number to the end of the PDF document
ConvertPdfPagesToImageFile(Byte, Int32, Int32, String, String) Converts a range of pages of a PDF document to image files
ConvertPdfPagesToImageFile(Stream, Int32, Int32, String, String) Converts a range of pages of a PDF document in a stream to image files
ConvertPdfPagesToImageFile(String, Int32, Int32, String, String) Converts a range of pages of a PDF file to image files
ConvertPdfPagesToImageInEvent(Byte) Converts all the pages in a PDF document to image objects and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(Stream) Converts all the pages of PDF document in a stream to image objects and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(String) Converts all the pages of a PDF file to image objects and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(Byte, Int32) Converts the pages of a PDF document to image objects 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 image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(Stream, Int32) Converts the pages of a PDF document in a stream to image objects 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 image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(String, Int32) Converts the pages of a PDF file to image objects 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 image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(Byte, Int32, Int32) Converts a range of pages of a PDF document to image objects and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to image objects and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfPagesToImageInEvent(String, Int32, Int32) Converts a range of pages of a PDF file to image objects and raises the PageConvertedEvent event immediately after a PDF page was converted. The event handler argument contains a reference to resulted image object. You are responsible for disposing the resulted image object by calling its Dispose method when it is not needed anymore
ConvertPdfToTiff(Byte) Converts all the pages in a PDF document to a multiframe TIFF image in a memory buffer
ConvertPdfToTiff(Stream) Converts a PDF document in a stream to a multiframe TIFF image in a memory buffer
ConvertPdfToTiff(String) Converts a PDF file to a multiframe TIFF image in a memory buffer
ConvertPdfToTiff(Byte, Int32) Converts the pages of a PDF document to a multiframe TIFF image in a memory buffer starting from a given PDF page number to the end of the PDF document
ConvertPdfToTiff(Stream, Int32) Converts the pages of a PDF document in a stream to a multiframe TIFF image in a memory buffer starting from a given PDF page number to the end of the PDF document
ConvertPdfToTiff(String, Int32) Converts the pages of a PDF file to a multiframe TIFF image in a memory buffer starting from a given PDF page number to the end of the PDF document
ConvertPdfToTiff(Byte, Int32, Int32) Converts a range of pages of a PDF document to a multiframe TIFF image in a memory buffer
ConvertPdfToTiff(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to a multiframe TIFF image in a memory buffer
ConvertPdfToTiff(String, Int32, Int32) Converts a range of pages of a PDF file to a multiframe TIFF image in a memory buffer
ConvertPdfToTiffFile(Byte, String) Converts all the pages in a PDF document to a TIFF image file
ConvertPdfToTiffFile(Stream, String) Converts all the pages of PDF document in a stream to a TIFF image file
ConvertPdfToTiffFile(String, String) Converts all the pages of a PDF file to a TIFF image file
ConvertPdfToTiffFile(Byte, Int32, String) Converts the pages of a PDF document to a TIFF image file starting from a given PDF page number to the end of the PDF document
ConvertPdfToTiffFile(Stream, Int32, String) Converts the pages of a PDF document in a stream to a TIFF image file starting from a given PDF page number to the end of the PDF document
ConvertPdfToTiffFile(String, Int32, String) Converts the pages of a PDF file to a TIFF image file starting from a given PDF page number to the end of the PDF document
ConvertPdfToTiffFile(Byte, Int32, Int32, String) Converts a range of pages of a PDF document to a TIFF image file
ConvertPdfToTiffFile(Stream, Int32, Int32, String) Converts a range of pages of a PDF document in a stream to a TIFF image file
ConvertPdfToTiffFile(String, Int32, Int32, String) Converts a range of pages of a PDF file to a TIFF image file
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 ConvertPdfPagesToImageInEvent(String)

See Also