# C1.C1Excel.XLSheet.PrintSettings

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Excel_XLSheet_PrintSettings_" data-uid="C1.C1Excel.XLSheet.PrintSettings*">PrintSettings Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Excel_XLSheet_PrintSettings_" data-uid="C1.C1Excel.XLSheet.PrintSettings*"></a>
<h4 id="C1_C1Excel_XLSheet_PrintSettings" data-uid="C1.C1Excel.XLSheet.PrintSettings">PrintSettings</h4>
<div class="markdown level1 summary"><p>Gets or sets an <a class="xref" href="C1.C1Excel.XLPrintSettings.html">XLPrintSettings</a> object that controls how the
sheet is printed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public XLPrintSettings PrintSettings { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property PrintSettings As XLPrintSettings</code></pre>
</div>
<h5 id="C1_C1Excel_XLSheet_PrintSettings_examples">Examples</h5>
<p>The code below creates a header for the sheet and sets the orientation to landscape:</p>
<pre><code class="lang-csharp">XLPrintSettings pp = sheet.PrintSettings();
pp.Landscape = true;
pp.Header = "&amp;LLeft Header&amp;CCenter Header&amp;RRight Header";</code></pre>

</div>
