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
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