ArcObjects Library Reference (PublisherControls)  

IARPageLayout.ToPagePoint Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

See Also

IARPageLayout Interface