 | 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.81.2704
Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.81.2704
Syntaxpublic void PageToDevice(
int x,
int y,
int width,
int height,
PageRotate rotate,
float pageX,
float pageY,
out int deviceX,
out int deviceY
)
Public Sub PageToDevice (
x As Integer,
y As Integer,
width As Integer,
height As Integer,
rotate As PageRotate,
pageX As Single,
pageY As Single,
<OutAttribute> ByRef deviceX As Integer,
<OutAttribute> ByRef deviceY As Integer
)
public:
void PageToDevice(
int x,
int y,
int width,
int height,
PageRotate rotate,
float pageX,
float pageY,
[OutAttribute] int% deviceX,
[OutAttribute] int% deviceY
)
member PageToDevice :
x : int *
y : int *
width : int *
height : int *
rotate : PageRotate *
pageX : float32 *
pageY : float32 *
deviceX : int byref *
deviceY : int byref -> unit
public void PageToDevice(
int x,
int y,
int width,
int height,
PageRotate rotate,
float pageX,
float pageY,
/** @attribute OutAttribute */ /** @ref */int deviceX,
/** @attribute OutAttribute */ /** @ref */int deviceY
)
function PageToDevice(x, y, width, height, rotate, pageX, pageY, 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). - 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