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 )
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 - pdf file password.
Return Value
Type: BitmapBitmap if everything is OK, exception if something went wrong
See Also