# C1.Win.Chart.Axis.GetHeight

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Chart_Axis_GetHeight_" data-uid="C1.Win.Chart.Axis.GetHeight*">GetHeight Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Chart_Axis_GetHeight_" data-uid="C1.Win.Chart.Axis.GetHeight*"></a>
<h4 id="C1_Win_Chart_Axis_GetHeight_C1_Chart_IRenderEngine_System_Double_" data-uid="C1.Win.Chart.Axis.GetHeight(C1.Chart.IRenderEngine,System.Double)">GetHeight(IRenderEngine, double)</h4>
<div class="markdown level1 summary"><p>Gets the axis height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual double GetHeight(IRenderEngine engine, double maxWidth)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetHeight(engine As IRenderEngine, maxWidth As Double) As Double</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">IRenderEngine</span></td>
      <td><span class="parametername">engine</span></td>
      <td><p>Render engine <span class="xref">C1.Chart.IRenderEngine</span> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">maxWidth</span></td>
      <td><p>The maximum width.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><p>The axis height.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
