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

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.