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


IDisplayTransformation.Resolution Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDisplayTransformation.Resolution Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description


 

Remarks

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.

See Also

IDisplayTransformation Interface | IDisplayTransformation.ZoomResolution Property | IDisplayTransformation.Resolution Property