This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageDisplay2 Interface > IImageDisplay2.DeviceResolution Property (ArcObjects .NET 10.4 SDK) |
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
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.