HiQPdf Documentation

PdfRasterizerRasterizeToImageObjects Method (Byte, Int32, Int32)

Quickly Create High Quality PDFs
Call this method to rasterize a range of pages of a PDF document contained in a memory buffer to image objects

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public PdfPageRasterImage[] RasterizeToImageObjects(
	byte[] pdfBuffer,
	int firstPdfPageNumber,
	int lastPdfPageNumber
)

Parameters

pdfBuffer
Type: SystemByte
The memory buffer containing the PDF document from which to extract the images
firstPdfPageNumber
Type: SystemInt32
The first PDF page number
lastPdfPageNumber
Type: SystemInt32
The last PDF page number

Return Value

Type: PdfPageRasterImage
An array of image objects that you have to dispose when when they are no longer necessary
See Also

Reference