ArcObjects Library Reference (Controls)  

IPageLayoutControl2.FromPagePoint Method

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

ERROR: Syntax information about IPageLayoutControl2.FromPagePoint may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT FromPagePoint(
  IPoint* pt,
  long* X,
  long* 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

IPageLayoutControl2 Interface