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

NReco.PdfRenderer Class Library Documentation
Generate images by specifed PDF file pages range and write output in PNG format to the specified output stream.

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

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

Parameters

pdfFile
Type: SystemString
path to the PDF file
firstPage
Type: SystemInt32
lastPage
Type: SystemInt32
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