Click or drag to resize

PdfPageDeviceToPageEx Method

Convert the screen coordinate of a point to page coordinate.

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.84.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.84.2704
Syntax
public PointF DeviceToPageEx(
	int x,
	int y,
	int width,
	int height,
	PageRotate rotate,
	int deviceX,
	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).
deviceX
Type: SystemInt32
X value in device coordinate, for the point to be converted
deviceY
Type: SystemInt32
Y value in device coordinate, for the point to be converted

Return Value

Type: PointF
PointF structure that represents the point in page coordinate
Remarks
See Also