ESRI.ArcGIS.ADF.Web.UI.WebControls
BarFont Property
See Also  Send Feedback
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) 
<NotifyParentPropertyAttribute(True)>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.FontEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<ResDescriptionAttribute(" The font used in the display of the scalebar text labels.")>
<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# 
[NotifyParentPropertyAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.FontEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ResDescriptionAttribute(" The font used in the display of the scalebar text labels.")]
[ResCategoryAttribute("Appearance")]
public Font BarFont {get; set;}

Remarks

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

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.