ESRI.ArcGIS.ADF.Web.UI.WebControls
BarFont Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ScaleBar Class : BarFont Property




The font used in the display of the scalebar text labels.

Syntax

Visual Basic (Declaration) 
<PersistenceModeAttribute()>
<ResDescriptionAttribute(" The font used in the display of the scalebar text labels.")>
<NotifyParentPropertyAttribute(True)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.FontEditor, System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<ResCategoryAttribute("Appearance")>
Public Property BarFont As Font
Visual Basic (Usage)Copy Code
Dim instance As ScaleBar
Dim value As Font
 
instance.BarFont = value
 
value = instance.BarFont
C# 
[PersistenceModeAttribute()]
[ResDescriptionAttribute(" The font used in the display of the scalebar text labels.")]
[NotifyParentPropertyAttribute(true)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.FontEditor, System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ResCategoryAttribute("Appearance")]
public Font BarFont {get; set;}

Remarks

If not set, the default font is Verdana and default font size is 8 points.

See Also

© 2010 All Rights Reserved.