Saves multiple pdf pages as images in the range fromPage and toPage. Supported image types are BMP, TIF/TIFF, GIF, JPG/JPEG and PNG.
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
public PdfPrintStatus SavePdfPagesAsImages( string fileName, string outputFileName, int fromPage, int toPage )
Parameters
- fileName
- Type: SystemString
PDF file name - outputFileName
- Type: SystemString
Image output file name - fromPage
- Type: SystemInt32
From PDF page. - toPage
- Type: SystemInt32
To PDF page.
Return Value
Type: PdfPrintStatusStatus - in case of an unexpected error it throws an exception.
See Also