ArcObjects Library Reference (Carto)  

IImageDisplay2.Height Property

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

Product Availability

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

Remarks

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