PdfImagesExtractorExtractImagesToFile(Stream, Int32, Int32, String, String) Method

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

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.PdfProcessor (in HiQPdf.Next.PdfProcessor.dll) Version: 1.0.0
C#
public void ExtractImagesToFile(
	Stream pdfStream,
	int startPageNumber,
	int endPageNumber,
	string outputDirectory,
	string imageFileName
)

Parameters

pdfStream  Stream
Stream containing the PDF document from which to extract images
startPageNumber  Int32
Start page number
endPageNumber  Int32
End page number
outputDirectory  String
Output directory
imageFileName  String
Output file name without extension

See Also