2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / Axis Class / Font Property

In This Topic
    Font Property (Axis)
    In This Topic
    Gets or sets the font object.
    Syntax
    'Declaration
     
    Public Property Font As System.Drawing.Font
    public System.Drawing.Font Font {get; set;}
    Remarks

    Inherits from the C1.Win.C1Chart.ChartArea.

    Associated with the Font Property, is the ResetFont() method. This method restores the inheritance state for the axis font. If a font is explicitly set for an axis, it no longer inherits from the ChartArea; so changing the ChartArea font no longer affects or changes the axis value. Calling ResetFont() restores the inherited state so changes to the ChartArea font will once again change the axis font.

    See Also