# C1.C1Excel.XLRow.Height

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Excel_XLRow_Height_" data-uid="C1.C1Excel.XLRow.Height*">Height Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Excel_XLRow_Height_" data-uid="C1.C1Excel.XLRow.Height*"></a>
<h4 id="C1_C1Excel_XLRow_Height" data-uid="C1.C1Excel.XLRow.Height">Height</h4>
<div class="markdown level1 summary"><p>Gets or sets the height of the row, in twips.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Height { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Height As Integer</code></pre>
</div>
<h5 id="C1_C1Excel_XLRow_Height_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>A value of -1 causes the row to be displayed using the sheet's <a class="xref" href="C1.C1Excel.XLSheet.DefaultRowHeight.html#C1_C1Excel_XLSheet_DefaultRowHeight">DefaultRowHeight</a>
if cells of the row not contain data, otherwise this height of the row depended from used font of the data.</p>
<p>To convert between pixels and twips, use the <a class="xref" href="C1.C1Excel.C1XLBook.TwipsToPixels.html#C1_C1Excel_C1XLBook_TwipsToPixels_System_Double_">TwipsToPixels(double)</a>
and <a class="xref" href="C1.C1Excel.C1XLBook.PixelsToTwips.html#C1_C1Excel_C1XLBook_PixelsToTwips_System_Double_">PixelsToTwips(double)</a> methods.</p>
</div>
</div>
