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


IMapServerInit.MaxImageHeight Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerInit Interface > IMapServerInit.MaxImageHeight Property
ArcGIS Developer Help

IMapServerInit.MaxImageHeight Property

The maximum height in pixels of an image request.

[Visual Basic .NET]
Public Property MaxImageHeight As Integer
[C#]
public int MaxImageHeight {get; set;}
[C++]
HRESULT get_MaxImageHeight(
  System.Int32* Height
);
[C++]
HRESULT put_MaxImageHeight(
  long Height
);
[C++]
Parameters
Height [out, retval]

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

Product Availability

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

Remarks

In order to control the size of an exported map image, IMapServerInit contains two properties: MaxImageHeight and MaxImageWidth. The default value for these properties is 2048 pixels. The MaxImageHeight can also be changed by modifying the MaxImageHeight XML tag in the MapServer's configuration file.

See Also

IMapServerInit Interface