# C1.Win.C1Chart.Axis.ResetFont

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_Axis_ResetFont_" data-uid="C1.Win.C1Chart.Axis.ResetFont*">ResetFont Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_Axis_ResetFont_" data-uid="C1.Win.C1Chart.Axis.ResetFont*"></a>
<h4 id="C1_Win_C1Chart_Axis_ResetFont" data-uid="C1.Win.C1Chart.Axis.ResetFont">ResetFont()</h4>
<div class="markdown level1 summary"><p>Resets the inheritance state of the axis font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ResetFont()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ResetFont()</code></pre>
</div>
<h5 id="C1_Win_C1Chart_Axis_ResetFont_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>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.</p>
</div>
<h5 id="C1_Win_C1Chart_Axis_ResetFont_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.Axis.html">Axis</a></div>
</div>
</div>
