This document is archived and information here might be outdated. Recommended version. |
Converts a point in device coordinates (typically pixels) to coordinates in page units.
[Visual Basic .NET]
Public Sub ToPagePoint ( _
ByVal x As Integer, _
ByVal y As Integer, _
ByRef xCoord As Double, _
ByRef yCoord As Double _
)
[C#]
public void ToPagePoint (
int x,
int y,
ref double xCoord,
ref double yCoord
);
Converts the x and y screen coordinates supplied in pixels to x and y map coordinates. The screen coordinates are relative to the top left of the ARPageLayout display area. To obtain the offset of the display area from the top left of the ReaderControl use the IARControl::ViewTop and IARControl::ViewLeft properties. The returned page coordinates will be in PageUnits.