Click or drag to resize

PdfPagePageToDevice Method

Convert the page coordinate of a point to screen coordinate

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public void PageToDevice(
	int x,
	int y,
	int width,
	int height,
	PageRotate rotate,
	float pageX,
	float pageY,
	out int deviceX,
	out int deviceY
)

Parameters

x  Int32
Left pixel position of the display area in the device coordinate
y  Int32
Top pixel position of the display area in the device coordinate
width  Int32
Horizontal size (in pixels) for displaying the page
height  Int32
Vertical size (in pixels) for displaying the page
rotate  PageRotate
Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise),2 (rotated 180 degrees), 3 (rotated 90 degrees counter-clockwise).
pageX  Single
X value in page coordinate, for the point to be converted
pageY  Single
Y value in page coordinate, for the point to be converted
deviceX  Int32
The X value of the point in device coordinate
deviceY  Int32
The Y value of the point in device coordinate
Remarks
See Also