# C1.WPF.Excel.XLPrintSettings.AutoScale

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Excel_XLPrintSettings_AutoScale_" data-uid="C1.WPF.Excel.XLPrintSettings.AutoScale*">AutoScale Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Excel_XLPrintSettings_AutoScale_" data-uid="C1.WPF.Excel.XLPrintSettings.AutoScale*"></a>
<h4 id="C1_WPF_Excel_XLPrintSettings_AutoScale" data-uid="C1.WPF.Excel.XLPrintSettings.AutoScale">AutoScale</h4>
<div class="markdown level1 summary"><p>Gets or sets the scaling mode used for printed output.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool AutoScale { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutoScale As Boolean</code></pre>
</div>
<h5 id="C1_WPF_Excel_XLPrintSettings_AutoScale_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;If &lt;xref href=&quot;C1.WPF.Excel.XLPrintSettings.AutoScale&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; is set to true, then the printed sheet will be 
</code></pre>
<p>automatically scaled to fit the number of pages specified by the <a class="xref" href="C1.WPF.Excel.XLPrintSettings.FitPagesAcross.html#C1_WPF_Excel_XLPrintSettings_FitPagesAcross">FitPagesAcross</a>
and <a class="xref" href="C1.WPF.Excel.XLPrintSettings.FitPagesDown.html#C1_WPF_Excel_XLPrintSettings_FitPagesDown">FitPagesDown</a> properties.</p>
<p>If <a class="xref" href="C1.WPF.Excel.XLPrintSettings.AutoScale.html#C1_WPF_Excel_XLPrintSettings_AutoScale">AutoScale</a> is set to false, then the printed sheet will be
scaled according to the value of the <a class="xref" href="C1.WPF.Excel.XLPrintSettings.ScalingFactor.html#C1_WPF_Excel_XLPrintSettings_ScalingFactor">ScalingFactor</a> property.</p>
</div>
</div>
