# GrapeCity.ActiveReports.Core.Document.ITextLineHeightService.GetLineHeight

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Core_Document_ITextLineHeightService_GetLineHeight_" data-uid="GrapeCity.ActiveReports.Core.Document.ITextLineHeightService.GetLineHeight*">GetLineHeight Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Document_ITextLineHeightService_GetLineHeight_" data-uid="GrapeCity.ActiveReports.Core.Document.ITextLineHeightService.GetLineHeight*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_ITextLineHeightService_GetLineHeight_GrapeCity_ActiveReports_Document_Drawing_Font_" data-uid="GrapeCity.ActiveReports.Core.Document.ITextLineHeightService.GetLineHeight(GrapeCity.ActiveReports.Document.Drawing.Font)">GetLineHeight(Font)</h4>
<div class="markdown level1 summary"><p>Calculates line height without line spacing, in inches.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">float GetLineHeight(Font font)</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><a class="xref" href="GrapeCity.ActiveReports.Document.Drawing.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Text font</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.single">float</a></td>
      <td><p>Line height in inches</p>
</td>
    </tr>
  </tbody>
</table>
</div>
