# GrapeCity.ActiveReports.Export.Excel.Section.XlsExport.AutoRowHeight

## Content

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



<h1 id="GrapeCity_ActiveReports_Export_Excel_Section_XlsExport_AutoRowHeight_" data-uid="GrapeCity.ActiveReports.Export.Excel.Section.XlsExport.AutoRowHeight*">AutoRowHeight Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_Excel_Section_XlsExport_AutoRowHeight_" data-uid="GrapeCity.ActiveReports.Export.Excel.Section.XlsExport.AutoRowHeight*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Excel_Section_XlsExport_AutoRowHeight" data-uid="GrapeCity.ActiveReports.Export.Excel.Section.XlsExport.AutoRowHeight">AutoRowHeight</h4>
<div class="markdown level1 summary"><p>True if excel should set the height of the row based on the contents of that row.  Otherwise the XlsExport will calculate the height of the rows.  In some cases this may make the output look better inside excel.  However, a value of true may adversely effect pagination when printing from excel, as it will often cause excel to stretch the height of the page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool AutoRowHeight { get; set; }</code></pre>
</div>
<h5 id="GrapeCity_ActiveReports_Export_Excel_Section_XlsExport_AutoRowHeight_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Normally this property would not be true when UseCellMerging is true.</p>
</div>
</div>
