HiQPdf Documentation

PdfRasterizerRasterizeToImageObjects Method (Stream, Int32, Int32)

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

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

public PdfPageRasterImage[] RasterizeToImageObjects(
	Stream pdfStream,
	int firstPdfPageNumber,
	int lastPdfPageNumber
)

Parameters

pdfStream
Type: System.IOStream
The PDF document stream
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