# C1.Win.GanttView.Printing.PrintDocumentWrapper.Print

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print*">Print Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print*"></a>
<h4 id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print">Print()</h4>
<div class="markdown level1 summary"><p>Prints the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print()</code></pre>
</div>


<a id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print*"></a>
<h4 id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_System_Drawing_Printing_PrinterSettings_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print(System.Drawing.Printing.PrinterSettings)">Print(PrinterSettings)</h4>
<div class="markdown level1 summary"><p>Prints the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print(PrinterSettings printerSettings)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print(printerSettings As PrinterSettings)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printersettings">PrinterSettings</a></td>
      <td><span class="parametername">printerSettings</span></td>
      <td><p>The printer settings to use.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print*"></a>
<h4 id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_System_Drawing_Printing_PrinterSettings_System_Boolean_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print(System.Drawing.Printing.PrinterSettings,System.Boolean)">Print(PrinterSettings, bool)</h4>
<div class="markdown level1 summary"><p>Prints the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print(PrinterSettings printerSettings, bool showProgress)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print(printerSettings As PrinterSettings, showProgress As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printersettings">PrinterSettings</a></td>
      <td><span class="parametername">printerSettings</span></td>
      <td><p>The printer settings to use.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showProgress</span></td>
      <td><p>Flag indicating whether to show the progress dialog.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print*"></a>
<h4 id="C1_Win_GanttView_Printing_PrintDocumentWrapper_Print_System_Drawing_Printing_PrinterSettings_System_Drawing_Printing_PageSettings_System_Boolean_" data-uid="C1.Win.GanttView.Printing.PrintDocumentWrapper.Print(System.Drawing.Printing.PrinterSettings,System.Drawing.Printing.PageSettings,System.Boolean)">Print(PrinterSettings, PageSettings, bool)</h4>
<div class="markdown level1 summary"><p>Prints the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print(PrinterSettings printerSettings, PageSettings defaultPageSettings, bool showProgress)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print(printerSettings As PrinterSettings, defaultPageSettings As PageSettings, showProgress As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printersettings">PrinterSettings</a></td>
      <td><span class="parametername">printerSettings</span></td>
      <td><p>The printer settings to use.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.pagesettings">PageSettings</a></td>
      <td><span class="parametername">defaultPageSettings</span></td>
      <td><p>The default page settings to use.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showProgress</span></td>
      <td><p>Flag indicating whether to show the progress dialog.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
