Returns bitmap from the pdf page.
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
public Bitmap GetBitmapFromPdfPage( byte[] pdfArray, int pageNumber, int zoomFactor, string password, bool checkPDFFile )
Parameters
- pdfArray
- Type: SystemByte
PDF content - pageNumber
- Type: SystemInt32
Page number - zoomFactor
- Type: SystemInt32
Zoom factor. Valid values are from 1 to 10. If omitted value 5 is used. Value 5 is the closest one to original PDF page size. - password
- Type: SystemString
PDF password - pdf file password. - checkPDFFile
- Type: SystemBoolean
Check if PDF file and page number is valid.
Return Value
Type: BitmapBitmap if everything is OK, exception if something went wrong
See Also