PdfRasterizer.RasterizeToImageObjects(Byte[], Int32, Int32) Method

Call this method to rasterize a range of pages of a PDF document contained in a memory buffer to image objects

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 17.0.0
C#
public PdfPageRasterImage[] RasterizeToImageObjects(
	byte[] pdfBuffer,
	int firstPdfPageNumber,
	int lastPdfPageNumber
)

Parameters

pdfBuffer  Byte[]
The memory buffer containing the PDF document from which to extract the images
firstPdfPageNumber  Int32
The first PDF page number
lastPdfPageNumber  Int32
The last PDF page number

Return Value

PdfPageRasterImage[]
An array of image objects that you have to dispose when when they are no longer necessary

See Also