HiQPdf Documentation

PdfImagesExtractExtractToImageObjects Method (Stream, Int32, Int32)

Quickly Create High Quality PDFs
Call this method to extract the images from 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 ExtractedPdfImage[] ExtractToImageObjects(
	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: ExtractedPdfImage
An array of image objects that you have to dispose when when they are no longer necessary
See Also

Reference