# GrapeCity.ActiveReports.Viewer.Win.Viewer.PrintingSettings

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_PrintingSettings_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.PrintingSettings*">PrintingSettings Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_Viewer_PrintingSettings_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.PrintingSettings*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_PrintingSettings" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.PrintingSettings">PrintingSettings</h4>
<div class="markdown level1 summary"><p>Gets or sets the printing settings for the Viewer, determining the behavior of the print operation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PrintingSettings PrintingSettings { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.PrintingSettings.html">PrintingSettings</a></td>
      <td><p>A combination of <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.Viewer.PrintingSettings.html#GrapeCity_ActiveReports_Viewer_Win_Viewer_PrintingSettings">PrintingSettings</a> flags that control the print dialog display, print progress dialog display,
and whether printing occurs on a separate thread.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_PrintingSettings_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The default settings enable the print dialog (<a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.PrintingSettings.html#GrapeCity_Viewer_Common_PrintingSettings_ShowPrintDialog">ShowPrintDialog</a>), the print progress dialog
(<a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.PrintingSettings.html#GrapeCity_Viewer_Common_PrintingSettings_ShowPrintProgressDialog">ShowPrintProgressDialog</a>), and printing on a separate thread (<a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.PrintingSettings.html#GrapeCity_Viewer_Common_PrintingSettings_UsePrintingThread">UsePrintingThread</a>),
optimizing the printing process for user experience and performance.</p>
</div>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_PrintingSettings_examples">Examples</h5>
<pre><code class="lang-csharp">// Assuming 'viewer' is an instance of the Viewer class
// To disable the print dialog while keeping the print progress dialog and printing on a separate thread, you can configure the PrintingSettings property as follows:
viewer.PrintingSettings = PrintingSettings.ShowPrintProgressDialog | PrintingSettings.UsePrintingThread;
// If you want to disable the print progress dialog but keep the print dialog and printing on a separate thread, use the following configuration:
viewer.PrintingSettings = PrintingSettings.ShowPrintDialog | PrintingSettings.UsePrintingThread;</code></pre>

</div>
