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

NReco.PdfRenderer Class Library Documentation
Generate images by specifed PDF file 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(
	string pdfFile,
	int firstPage,
	int lastPage,
	ImageFormat imgFormat,
	string outputDir
)

Parameters

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