This document is archived and information here might be outdated.  Recommended version.


IPageLayoutControl.ToPagePoint Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IPageLayoutControl.ToPagePoint Method

Converts device co-ordinates (typically pixels) to a point on the page (in page units).

[Visual Basic .NET]
Public Function ToPagePoint ( _
    ByVal X As Integer, _
    ByVal Y As Integer _
) As IPoint
[C#]
public IPoint ToPagePoint (
    int X,
    int Y
);
[C++]
HRESULT ToPagePoint(
  long X,
  long Y,
  IPoint** point
);
[C++]

Parameters X [in] X is a parameter of type long Y [in] Y is a parameter of type long point [out, retval]
point is a parameter of type IPoint

Product Availability

Available with ArcGIS Engine.

Description

ToPagePoint converts a (X,Y) location in pixels to IPage::Units.

Errors Returned

1000 800a03e8: An internal call to create an object has failed

See Also

IPageLayoutControl Interface | IPageLayoutControl.FromPagePoint Method