Dundas Chart for Windows Forms
Font Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCell Class : Font Property


Gets or sets the legend cell's font.
Legend cell text font. Set CellType to Text to use this property.

Syntax

Visual Basic (Declaration)  
Public Overridable Property Font As Font
Visual Basic (Usage) Copy Code
Dim instance As LegendCell
Dim value As Font
 
instance.Font = value
 
value = instance.Font
C#  
public virtual Font Font {get; set;}

Return Value

A Font object. Defaults to "Microsoft Sans Serif, 8pt".

Remarks

This property can be used to set font properties of the legend cell.

To set font properties at run-time a new font object must be created. Attempting to change the property of this font object at run-time will result in a compilation error.

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

© 2009 All Rights Reserved.