ESRI.ArcGIS.ADF.IMS
SwatchWidth Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.