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




Gets or sets the font size of the layer labels.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

This property determines the size of the font used for layer names in the legend. If the layer uses a ValueMapRenderer, this does not affect the size of value entries; that size is determined by ValueFontSize.

Default is 10 pixels.

See Also

© 2010 All Rights Reserved.