PdfImagesExtractorExtractImages(Stream, Int32, Int32) Method

Extracts images from a range of pages of a PDF document in a stream to image objects

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.PdfProcessor (in HiQPdf.Next.PdfProcessor.dll) Version: 1.0.0
C#
public ExtractedImage[][] ExtractImages(
	Stream pdfStream,
	int startPageNumber,
	int endPageNumber
)

Parameters

pdfStream  Stream
Stream containing the PDF document from which to extract images
startPageNumber  Int32
Start page number
endPageNumber  Int32
End page number

Return Value

ExtractedImage
An array of arrays of ExtractedImage objects. Each element in the outer array represents a page in the PDF document and each inner array contains the images extracted from that page. For example, images[1] returns all images extracted from the second page and images[1][2] is the third image from the second page

See Also