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




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

Syntax

Visual Basic (Declaration) 
Public Property SwatchHeight As Integer
Visual Basic (Usage)Copy Code
Dim instance As Legend
Dim value As Integer
 
instance.SwatchHeight = value
 
value = instance.SwatchHeight
C# 
public int SwatchHeight {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 height of these swatches in pixels. All swatches will be drawn with the same dimensions.

See Also

© 2010 All Rights Reserved.