 | 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
Syntaxpublic PointF DeviceToPageEx(
int x,
int y,
int width,
int height,
PageRotate rotate,
int deviceX,
int deviceY
)
Public Function DeviceToPageEx (
x As Integer,
y As Integer,
width As Integer,
height As Integer,
rotate As PageRotate,
deviceX As Integer,
deviceY As Integer
) As PointF
public:
PointF DeviceToPageEx(
int x,
int y,
int width,
int height,
PageRotate rotate,
int deviceX,
int deviceY
)
member DeviceToPageEx :
x : int *
y : int *
width : int *
height : int *
rotate : PageRotate *
deviceX : int *
deviceY : int -> PointF
public PointF DeviceToPageEx(
int x,
int y,
int width,
int height,
PageRotate rotate,
int deviceX,
int deviceY
)
function DeviceToPageEx(x, y, width, height, rotate, deviceX, 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:
PointFPointF structure that represents the point in page coordinate
Remarks
See Also