Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
public PdfPrintStatus SavePdfPageAsImage( string fileName, string outputFileName, int pageNumber )
Parameters
- fileName
- Type: SystemString
PDF file name - outputFileName
- Type: SystemString
Output image file name - pageNumber
- Type: SystemInt32
PDF page number
Return Value
Type: PdfPrintStatusStatus, if unexpected error returns exception.
See Also