ESRI.ArcGIS.ADF.IMS
SwatchWidth Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : SwatchWidth Property




Gets or sets the width of the individual swatches in the Legend.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

Each legend item displays a sample of the symbol used in drawing the features on the map. This setting determines width of these swatches in pixels. All swatches will be drawn with the same dimensions.

See Also

© 2010 All Rights Reserved.