Click or drag to resize

PdfPagePageToDevice Method

Convert the page coordinate of a point to screen coordinate

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.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
Type: SystemInt32
Left pixel position of the display area in the device coordinate
y
Type: SystemInt32
Top pixel position of the display area in the device coordinate
width
Type: SystemInt32
Horizontal size (in pixels) for displaying the page
height
Type: SystemInt32
Vertical size (in pixels) for displaying the page
rotate
Type: Patagames.Pdf.EnumsPageRotate
Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise),2 (rotated 180 degrees), 3 (rotated 90 degrees counter-clockwise).
pageX
Type: SystemSingle
X value in page coordinate, for the point to be converted
pageY
Type: SystemSingle
Y value in page coordinate, for the point to be converted
deviceX
Type: SystemInt32
The X value of the point in device coordinate
deviceY
Type: SystemInt32
The Y value of the point in device coordinate
Remarks
See Also