2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / Axis Class / ResetFont Method

In This Topic
    ResetFont Method (Axis)
    In This Topic
    Resets the inheritance state of the axis font.
    Syntax
    'Declaration
     
    Public Sub ResetFont() 
    public void ResetFont()
    Remarks
    This method resets the inheritance state of the axis font. By default, the font used for the axis is that specified by the ChartArea style. In the inherited state, any changes to the ChartArea style are reflected in the axis font. However, if the font for the axis is explicitly changed, changing the ChartArea style font no longer affects the axis style. Calling ResetFont() restores the inherited state, so once again the font used by the axis will be the same as that specified by the ChartArea style.
    See Also