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


IImageResult.Width Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IImageResult.Width Property

The width of the image in pixels.

[Visual Basic .NET]
Public ReadOnly Property Width As Integer
[C#]
public int Width {get;}
[C++]
HRESULT get_Width(
  long* widthPixels
);
[C++]

Parameters widthPixels [out, retval] widthPixels 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.

See Also

IImageResult Interface