# GrapeCity.ActiveReports.PrinterSettings.ShowPrintDialog

## Content

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



<h1 id="GrapeCity_ActiveReports_PrinterSettings_ShowPrintDialog_" data-uid="GrapeCity.ActiveReports.PrinterSettings.ShowPrintDialog*">ShowPrintDialog Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PrinterSettings_ShowPrintDialog_" data-uid="GrapeCity.ActiveReports.PrinterSettings.ShowPrintDialog*"></a>
<h4 id="GrapeCity_ActiveReports_PrinterSettings_ShowPrintDialog" data-uid="GrapeCity.ActiveReports.PrinterSettings.ShowPrintDialog">ShowPrintDialog</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the print dialog is displayed before the printing process starts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShowPrintDialog { 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> to display the print dialog; otherwise, <code>false</code>. The default is <code>true</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PrinterSettings_ShowPrintDialog_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When set to <code>true</code>, the print dialog is shown to the user, allowing them to select printer settings such as the printer to use,
the range of pages to print, and the number of copies. This dialog provides a final confirmation before printing begins, offering users
greater control over the printing process.
Setting this property to <code>false</code> bypasses the print dialog, and the printing process starts immediately with the current printer settings.
This option is useful for automated printing scenarios where user interaction is not required or desired.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PrinterSettings_ShowPrintDialog_examples">Examples</h5>
<p>This example demonstrates how to disable the print dialog for automated printing:</p>
<pre><code class="lang-csharp">var printerSettings = new GrapeCity.ActiveReports.PrinterSettings();
printerSettings.ShowPrintDialog = false;
// Proceed with printing operations</code></pre>

</div>
