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


IImageDisplay2.DeviceResolution Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IImageDisplay2.DeviceResolution Property

The device resolution of the image (dots per inch).

[Visual Basic .NET]
Public Property DeviceResolution As Double
[C#]
public double DeviceResolution {get; set;}
[C++]
HRESULT get_DeviceResolution(
  double* Dpi
);
[C++]
HRESULT put_DeviceResolution(
  double Dpi
);
[C++]

Parameters Dpi [out, retval] Dpi is a parameter of type double Dpi [in] Dpi is a parameter of type double

Product Availability

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

Remarks

When setting a value for DeviceResolution it is important to note that the result depends on a number of variables such as the method being used and the output Format selected in addition to the DeviceResolution. Please review the remarks for ExportMapImage and ExportLayout for more information.

See Also

IImageDisplay2 Interface