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