Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / Font Property
Example


In This Topic
    Font Property (ChartShape)
    In This Topic
    Gets or sets the font for the element.
    Syntax
    'Declaration
     
    
    Public Overrides Property Font As Font
    'Usage
     
    
    Dim instance As ChartShape
    Dim value As Font
     
    instance.Font = value
     
    value = instance.Font
    public override Font Font {get; set;}
    Example
    Font f = new System.Drawing.Font("MS Sans Serif", 12, FontStyle.Bold);
    element.Font = f;
    element.State = FarPoint.Win.ElementState.Inverted;
    Dim f As New System.Drawing.Font("MS Sans Serif", 12, FontStyle.Bold)
    element.Font = f
    element.State = FarPoint.Win.ElementState.Inverted
    See Also