PdfToImageConverterGenerateImages Method (Stream, Int32, Int32, ImageFormat, String)

NReco.PdfRenderer Class Library Documentation
Generate images by specifed PDF content stream pages range and write output to the specified folder.

Namespace:  NReco.PdfRenderer
Assembly:  NReco.PdfRenderer (in NReco.PdfRenderer.dll) Version: 1.2.1
Syntax

public string[] GenerateImages(
	Stream inputPdfStream,
	int firstPage,
	int lastPage,
	ImageFormat imgFormat,
	string outputDir
)

Parameters

inputPdfStream
Type: System.IOStream
input stream with PDF content
firstPage
Type: SystemInt32
first page to render
lastPage
Type: SystemInt32
last page to render
imgFormat
Type: NReco.PdfRendererImageFormat
output image format
outputDir
Type: SystemString
destination folder for produced image files

Return Value

Type: String
file names of produced images
See Also

Reference