Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / ResetFont Method
Example


In This Topic
    ResetFont Method (ChartShape)
    In This Topic
    Resets the font for the element to it default value.
    Syntax
    'Declaration
     
    
    Public Overrides Sub ResetFont() 
    'Usage
     
    
    Dim instance As ChartShape
     
    instance.ResetFont()
    public override void ResetFont()
    Example
    Font f = new System.Drawing.Font("MS Sans Serif", 12, FontStyle.Bold);
    element.Font = f;
    element.State = FarPoint.Win.ElementState.Inverted;
    element.ResetFont();
    Dim f As New System.Drawing.Font("MS Sans Serif", 12, FontStyle.Bold)
    element.Font = f
    element.State = FarPoint.Win.ElementState.Inverted
    element.ResetFont();
    See Also