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.5.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: Stringfile names of produced images
See Also