# GrapeCity.Documents.Excel.IPageSetup.BestFitRows

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IPageSetup_BestFitRows_" data-uid="GrapeCity.Documents.Excel.IPageSetup.BestFitRows*">BestFitRows Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IPageSetup_BestFitRows_" data-uid="GrapeCity.Documents.Excel.IPageSetup.BestFitRows*"></a>
<h4 id="GrapeCity_Documents_Excel_IPageSetup_BestFitRows" data-uid="GrapeCity.Documents.Excel.IPageSetup.BestFitRows">BestFitRows</h4>
<div class="markdown level1 summary"><p>Gets or sets whether row heights are adjusted to fit the tallest text height for printing.
May cause some efficiency problems if the file contains large amounts of data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool BestFitRows { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property BestFitRows As Boolean</code></pre>
</div>
</div>
