Gets or sets a Font object, used to set font properties of the applicable chart element.
Font property is not used.
Visual Basic (Declaration) | |
---|---|
Public Overrides ReadOnly Property Font As FontInfo |
C# | |
---|---|
public override FontInfo Font {get;} |
Return Value
A Font object, used to set font properties.
The following sample assigns a new font object to Series1.
Visual Basic | Copy Code |
---|---|
'create new font object, specifying font face, size and style |
Use this to set font properties of the applicable Chart objects.
To set the font of the root chart object's title use the TitleFont property instead.
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