This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageDisplay2 Interface > IImageDisplay2.Height Property (ArcObjects .NET 10.5 SDK) |
The height of the image in pixels.
[Visual Basic .NET] Public Property Height As Integer
[C#] public int Height {get; set;}
[C++]
HRESULT get_Height(
long* imageHeight
);
[C++]
HRESULT put_Height(
long imageHeight
);
[C++]
Parameters imageHeight [out, retval] imageHeight is a parameter of type long imageHeight [in] imageHeight is a parameter of type long
When setting a value for Height it is important to note that the result depends on a number of variables such as the method being used, the output Format and the DeviceResolution. Please review the remarks for ExportMapImage and ExportLayout for more information.
In order to control the size of an exported map image, IMapServerInit2 contains two properties: MaxImageHeight and MaxImageWidth . The default value for these properties is 2048 pixels.