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


IPageLayoutControl.FromPagePoint Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControl Interface > IPageLayoutControl.FromPagePoint Method
ArcGIS Developer Help

IPageLayoutControl.FromPagePoint Method

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

[Visual Basic .NET]
Public Sub FromPagePoint ( _
    ByVal pt As IPoint, _
    ByRef X As Integer, _
    ByRef Y As Integer _
)
[C#]
public void FromPagePoint (
    IPoint pt,
    ref int X,
    ref int Y
);
[C++]
HRESULT FromPagePoint(
  IPoint* pt,
  System.Int32* X,
  System.Int32* Y
);
[C++]
Parameters
pt [in]

pt is a parameter of type IPoint* X [in, out]
X is a parameter of type long* Y [in, out]
Y is a parameter of type long*

Product Availability

Available with ArcGIS Engine.

Description

The FromPagePoint method takes an input point in IPage::Units, and populates two variables with the equivalent control coordinates in pixels.

See Also

IPageLayoutControl Interface | IPageLayoutControl.ToPagePoint Method