![]() |
This document is archived and information here might be outdated. Recommended version. |
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(
System.Double* pDpi
);
[C++] Parameters pDpi [in]
pDpi is a parameter of type double pDpi [out, retval]
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