Click or drag to resize

PdfToImageConverter Class

The PDF to Image converter class
Inheritance Hierarchy
SystemObject
  ExpertPdfPdfToImageConverter

Namespace:  ExpertPdf
Assembly:  eppdftoimage (in eppdftoimage.dll) Version: 7.0
Syntax
public class PdfToImageConverter

The PdfToImageConverter type exposes the following members.

Constructors
  NameDescription
Public methodPdfToImageConverter
The pdf to image converter constructor
Top
Properties
  NameDescription
Public propertyColorSpace
The color space of the generated images. Default value is RGB.
Public propertyDocumentInformation
PDF document information. This property is populated after the requested operation (ConvertToText) is finished.
Public propertyEndPageNumber
The page number where the conversion to images will end. The default value is 0 which means that all the PDF document pages will be converted to images starting from the StartPageNumber page.
Public propertyImagesFormat
The image format for the generated images.
Public propertyImagesPath
The path to the disk folder where the images will be saved when the method ConvertToImagesInFolder() is used.
Public propertyImagesPrefix
The prefix for extracted images file name.
Public propertyLicenseKey
The license key string received after the product purchase or a demo license key for the demo version of the converter. This property must be set before calling the conversion to images method. When this property is null, the converter will run in demo mode.
Public propertyPdfToolsFullPath
Gets or sets the full path (including the file name) of the pdf tools engine helper file.
Public propertyPdfToolsTimeout
Timeout in seconds for the current operation. Default value is 600 seconds.
Public propertyResolution
The resolution of the generated images in DPI. Default value is 120.
Public propertyStartPageNumber
The page number from where the conversion to images will start. The default value is 1 which means the conversion to images will start from the first page.
Public propertyUserPassword
The ASCII password to be used to open the PDF document for reading. The default value is null which means that no password will be used to open the PDF document.
Top
Methods
  NameDescription
Public methodConvertToImages(Stream)
Convert to images the PDF pages from the specified PDF stream.
Public methodConvertToImages(String)
Convert to images the PDF pages from the specified PDF file.
Public methodConvertToImagesInFolder(Stream)
Convert to images the PDF pages from the specified PDF stream. The images will be saved into the folder specified by ImagesPath property, in the format specified by ImagesFormat property.
Public methodConvertToImagesInFolder(String)
Convert to images the PDF pages from the specified PDF file. The images will be saved into the folder specified by ImagesPath property, in the format specified by ImagesFormat property.
Public methodGetPageCount(Stream)
Gets the number of pages in the specified PDF stream.
Public methodGetPageCount(String)
Gets the number of pages in the specified PDF file.
Top
See Also