This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.Resolution Property (ArcObjects .NET 10.4 SDK) |
Resolution of the device in dots (pixels) per inch.
[Visual Basic .NET] Public Property Resolution As Double
[C#] public double Resolution {get; set;}
[C++]
HRESULT get_Resolution(
double* pDpi
);
[C++]
HRESULT put_Resolution(
double pDpi
);
[C++]
Parameters pDpi [out, retval] pDpi is a parameter of type double pDpi [in] pDpi is a parameter of type double
In layout view, when the Page is zoomed 1:1, the resolution equals the device resolution. When the Page is zoomed to > 100%, the resolution is set higher so that graphics are magnified.
In data view, the Map object always has its resolution set to that of the display. Graphics are not magnified in this view when you zoom in.
The units are always in pixels per inch.
After setting the resolution, the ITransformEvents::ResolutionUpdated event is fired.
IDisplayTransformation Interface | IDisplayTransformation.ZoomResolution Property | IDisplayTransformation.Resolution Property