PdfToImageConverter Class

Encapsulates PDF to image conversion functionality and allows converting PDF pages to PNG images

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.PdfProcessor (in HiQPdf.Next.PdfProcessor.dll) Version: 1.0.0
C#
public class PdfToImageConverter
Inheritance
Object    PdfToImageConverter

Constructors

PdfToImageConverter Initializes a new instance of the PdfToImageConverter class

Properties

ColorSpace Color space of the resulting images. The default is RGB
ConversionInfo Gets information about the last PDF to Image conversion. Populated after the conversion completes successfully, otherwise it is null
MaxPageCount Upper limit for the number of PDF pages to process. A value of 0 means there is no upper limit
OwnerPassword Owner password used to open a password-protected PDF document
PdfLoaderFilePath Sets the full path of the PDF loader file
Resolution Resolution, in DPI, of the resulting images. The default is 150
RunTimeoutSec Maximum time allowed for this tool to run
StdFontsDir Directory that contains standard PDF fonts
TransparencyEnabled Enables image background transparency. The default value is false
UserPassword User password used to open a password-protected PDF document

Methods

ConvertToImageFiles(Byte, String, String) Converts all pages in a PDF document to image files
ConvertToImageFiles(Stream, String, String) Converts all pages of a PDF document in a stream to image files
ConvertToImageFiles(String, String, String) Converts all pages of a PDF file to image files
ConvertToImageFiles(Byte, Int32, String, String) Converts the pages of a PDF document to image files starting at a given page number through the end of the document
ConvertToImageFiles(Stream, Int32, String, String) Converts the pages of a PDF document in a stream to image files starting at a given page number through the end of the document
ConvertToImageFiles(String, Int32, String, String) Converts the pages of a PDF file to image files starting at a given page number through the end of the document
ConvertToImageFiles(Byte, Int32, Int32, String, String) Converts a range of pages of a PDF document to image files
ConvertToImageFiles(Stream, Int32, Int32, String, String) Converts a range of pages of a PDF document in a stream to image files
ConvertToImageFiles(String, Int32, Int32, String, String) Converts a range of pages of a PDF file to image files
ConvertToImageFilesAsync(Byte, String, String, CancellationToken) Asynchronously converts all pages in a PDF document to image files
ConvertToImageFilesAsync(Stream, String, String, CancellationToken) Asynchronously converts all pages of a PDF document in a stream to image files
ConvertToImageFilesAsync(String, String, String, CancellationToken) Asynchronously converts all pages of a PDF file to image files
ConvertToImageFilesAsync(Byte, Int32, String, String, CancellationToken) Asynchronously converts the pages of a PDF document to image files starting at a given page number through the end of the document
ConvertToImageFilesAsync(Stream, Int32, String, String, CancellationToken) Asynchronously converts the pages of a PDF document in a stream to image files starting at a given page number through the end of the document
ConvertToImageFilesAsync(String, Int32, String, String, CancellationToken) Asynchronously converts the pages of a PDF file to image files starting at a given page number through the end of the document
ConvertToImageFilesAsync(Byte, Int32, Int32, String, String, CancellationToken) Asynchronously converts a range of pages of a PDF document to image files
ConvertToImageFilesAsync(Stream, Int32, Int32, String, String, CancellationToken) Asynchronously converts a range of pages of a PDF document in a stream to image files
ConvertToImageFilesAsync(String, Int32, Int32, String, String, CancellationToken) Asynchronously converts a range of pages of a PDF file to image files
ConvertToImages(Byte) Converts all pages in a PDF document to image objects
ConvertToImages(Stream) Converts all pages of a PDF document in a stream to image objects
ConvertToImages(String) Converts all pages of a PDF file to image objects
ConvertToImages(Byte, Int32) Converts the pages of a PDF document to image objects starting at a given page number through the end of the document
ConvertToImages(Stream, Int32) Converts the pages of a PDF document in a stream to image objects starting at a given page number through the end of the document
ConvertToImages(String, Int32) Converts the pages of a PDF file to image objects starting at a given page number through the end of the document
ConvertToImages(Byte, Int32, Int32) Converts a range of pages of a PDF document to image objects
ConvertToImages(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to image objects
ConvertToImages(String, Int32, Int32) Converts a range of pages of a PDF file to image objects
ConvertToImagesAsync(Byte, CancellationToken) Asynchronously converts all pages in a PDF document to image objects
ConvertToImagesAsync(Stream, CancellationToken) Asynchronously converts all pages of a PDF document in a stream to image objects
ConvertToImagesAsync(String, CancellationToken) Asynchronously converts all pages of a PDF file to image objects
ConvertToImagesAsync(Byte, Int32, CancellationToken) Asynchronously converts the pages of a PDF document to image objects starting at a given page number through the end of the document
ConvertToImagesAsync(Stream, Int32, CancellationToken) Asynchronously converts the pages of a PDF document in a stream to image objects starting at a given page number through the end of the document
ConvertToImagesAsync(String, Int32, CancellationToken) Asynchronously converts the pages of a PDF file to image objects starting at a given page number through the end of the document
ConvertToImagesAsync(Byte, Int32, Int32, CancellationToken) Asynchronously converts a range of pages of a PDF document to image objects
ConvertToImagesAsync(Stream, Int32, Int32, CancellationToken) Asynchronously converts a range of pages of a PDF document in a stream to image objects
ConvertToImagesAsync(String, Int32, Int32, CancellationToken) Asynchronously converts a range of pages of a PDF file to image objects
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also