PdfToImageConverterGenerateImage Method (String, Int32, ImageFormat, String)

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

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

public void GenerateImage(
	string pdfFile,
	int page,
	ImageFormat imgFormat,
	string outputFile
)

Parameters

pdfFile
Type: SystemString
path to the PDF file
page
Type: SystemInt32
page number to render
imgFormat
Type: NReco.PdfRendererImageFormat
output image format
outputFile
Type: SystemString
output file name
See Also

Reference