PdfToImageConverterGenerateImage Method (String, Int32, ImageFormat, Stream)

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

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

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

Parameters

pdfFile
Type: SystemString
path to the PDF file
page
Type: SystemInt32
page number to render
imgFormat
Type: NReco.PdfRendererImageFormat
output image format
output
Type: System.IOStream
output stream for image data
See Also

Reference