# GrapeCity.Spreadsheet.ISheetView.ZoomToFit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_ISheetView_ZoomToFit_" data-uid="GrapeCity.Spreadsheet.ISheetView.ZoomToFit*">ZoomToFit Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_ISheetView_ZoomToFit_" data-uid="GrapeCity.Spreadsheet.ISheetView.ZoomToFit*"></a>
<h4 id="GrapeCity_Spreadsheet_ISheetView_ZoomToFit" data-uid="GrapeCity.Spreadsheet.ISheetView.ZoomToFit">ZoomToFit</h4>
<div class="markdown level1 summary"><p>Determines whether the view is zoomed to fit the dimensions of the document window every time the document window is resized.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool ZoomToFit { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property ZoomToFit As Boolean</code></pre>
</div>
<h5 id="GrapeCity_Spreadsheet_ISheetView_ZoomToFit_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Only chart sheet support this setting.</p>
</div>
</div>
