PdfPrintGetBitmapFromPdfPage Method (Byte, Int32, Int32, String, Boolean, Int32, Int32)Terminal Works - PDF Printing.Net Library
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,
	int xDPI,
	int yDPI
)

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.
xDPI
Type: SystemInt32
X DPI resolution
yDPI
Type: SystemInt32
Y DPI resolution

Return Value

Type: Bitmap
Bitmap if everything is OK, exception if something went wrong
See Also

Reference