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

IImageDisplay2.Height Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageDisplay2 Interface > IImageDisplay2.Height Property
ArcGIS Developer Help

IImageDisplay2.Height Property

The height of the image in pixels.

[Visual Basic .NET]
Public Property Height As Integer
public int Height {get; set;}
HRESULT get_Height(
  System.Int32* imageHeight
HRESULT put_Height(
  long imageHeight
imageHeight [out, retval]

imageHeight is a parameter of type long* imageHeight [in]
imageHeight is a parameter of type long

Product Availability

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


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.

See Also

IImageDisplay2 Interface