ESRI.ArcGIS.ADF.IMS
Width Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > RasterMarkerSymbol Class : Width Property




Gets or sets a value that resizes the marker symbol's width to new size in pixels.

Syntax

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

Example

For an example of using this property, see the RasterMarkerSymbol overview .

Remarks

If the width or height are set to be other than the native size of the image, it will be stretched to fit. This can lead to distortions of the image, particularly if the height and width are stretched in different proportions to the native size. If both height and width are set to zero (0), the height/width settings are ignored and the image is drawn at its native size.

See Also

© 2010 All Rights Reserved.