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


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

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(
  System.Int32* 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