ESRI.ArcGIS.ADF.IMS
Width Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : Width Property




The width of the image in pixels.

Syntax

Visual Basic (Declaration) 
Public Property Width As Integer
Visual Basic (Usage)Copy Code
Dim instance As ImageDescriptor
Dim value As Integer
 
instance.Width = value
 
value = instance.Width
C# 
public int Width {get; set;}

Remarks

This is the width of image to be drawn, in pixels.

Default for map images is 100 pixels.

For layouts drawn from a LayoutView, this setting has no effect. The Extent property of the LayoutView determines the size of the output.

If AutoResize is true, and if Height and Width cause the image to be larger than the PixelLimit (and IsImageSizeValid is true), then Height and Width will be changed during the drawing operation. You should check these values after drawing, if necessary, to adjust for display of the image and other image handling.

See Also

© 2010 All Rights Reserved.