Returns bitmap from the pdf page.
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
public Bitmap GetBitmapFromPdfPage( string fileName, int pageNumber, int zoomFactor, string password, bool checkPDFFile, int xDPI, int yDPI )
Parameters
- fileName
- Type: SystemString
PDF filename - pageNumber
- Type: SystemInt32
Page number - zoomFactor
- Type: SystemInt32
Zoom factor. Valid values are from 1 to 10. Value 5 is the closest one to original PDF page size. - password
- Type: SystemString
PDF password (optional) - if pdf file is password protected. - checkPDFFile
- Type: SystemBoolean
Check if PDF file and page number is valid. - xDPI
- Type: SystemInt32
X DPI resolution - yDPI
- Type: SystemInt32
Y DPI resolution
Return Value
Type: BitmapBitmap if everything is OK, exception if something went wrong
See Also