This document is archived and information here might be outdated. Recommended version. |
The maximum width in pixels of an image request.
[Visual Basic .NET] Public Property MaxImageWidth As Integer
[C#] public int MaxImageWidth {get; set;}
[C++]
HRESULT get_MaxImageWidth(
System.Int32* Width
);
[C++]
HRESULT put_MaxImageWidth(
long Width
);
[C++]
Parameters Width [out, retval]
Width is a parameter of type long* Width [in]
Width is a parameter of type long
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.