Click or drag to resize
Pdf Library for .NET

PdfRasterizer Class

Convert PDF document pages to images.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfTool
    SelectPdfPdfRasterizer

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public class PdfRasterizer : PdfTool

The PdfRasterizer type exposes the following members.

Constructors
  NameDescription
Public methodPdfRasterizer
Instantiates the PdfRasterizer object.
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 (GetText, GetHtml, etc) is finished.
(Inherited from PdfTool.)
Public propertyEndPageNumber
The page number where the current operation will end on the PDF file. The default value is 0 which means that all the PDF document is processed starting from the StartPageNumber page.
(Inherited from PdfTool.)
Public propertyImagesFormat
The image format for the generated images, when the method Save is used.
Public propertyImagesPath
The path to the disk folder where the images will be saved, when the method Save is used.
Public propertyImagesPrefix
The prefix for the generated images file name, when the method Save is used.
Public propertyResolution
The resolution of the generated images in DPI. Default value is 120.
Public propertyStartPageNumber
The page number from where the current operation will start on the PDF file. The default value is 1 which means that the operation will start from the first page.
(Inherited from PdfTool.)
Public propertyTimeout
Timeout in seconds for the current operation. Default value is 600 seconds.
(Inherited from PdfTool.)
Public propertyUserPassword
The user 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.
(Inherited from PdfTool.)
Top
Methods
  NameDescription
Public methodConvertToImages
Converts a range of PDF pages to images.
Public methodConvertToTiff
Converts a range of PDF pages to a multi frame TIFF.
Public methodGetInfo
Gets the information of the loaded PDF document.
(Inherited from PdfTool.)
Public methodGetPageCount
Gets the number of pages in the loaded PDF document.
(Inherited from PdfTool.)
Public methodLoad(Byte)
Loads a pdf document from a byte array.
(Inherited from PdfTool.)
Public methodLoad(Stream)
Loads a pdf document from the specified stream.
(Inherited from PdfTool.)
Public methodLoad(String)
Loads an existing pdf file.
(Inherited from PdfTool.)
Public methodLoad(Byte, String)
Loads a password protected pdf document from a byte array.
(Inherited from PdfTool.)
Public methodLoad(Stream, String)
Loads a pdf document from a stream containing a password protected pdf document.
(Inherited from PdfTool.)
Public methodLoad(String, String)
Loads an existing password protected pdf file.
(Inherited from PdfTool.)
Public methodSave
Convert to images the PDF pages from the current PDF document. The images will be saved into the folder specified by ImagesPath property, in the format specified by ImagesFormat property, having a prefix specified by the ImagesPrefix property.
Public methodSaveTiff
Convert the PDF pages from the current PDF document to multi frame TIFF. The TIFF will be saved into the folder specified by ImagesPath property, having the name specified by the ImagesPrefix property.
Top
See Also