# C1.WPF.GanttView.PrintManager.Preview

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_GanttView_PrintManager_Preview_" data-uid="C1.WPF.GanttView.PrintManager.Preview*">Preview Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_GanttView_PrintManager_Preview_" data-uid="C1.WPF.GanttView.PrintManager.Preview*"></a>
<h4 id="C1_WPF_GanttView_PrintManager_Preview_C1_WPF_GanttView_C1GanttView_C1_WPF_GanttView_ReportOptions_" data-uid="C1.WPF.GanttView.PrintManager.Preview(C1.WPF.GanttView.C1GanttView,C1.WPF.GanttView.ReportOptions)">Preview(C1GanttView, ReportOptions)</h4>
<div class="markdown level1 summary"><p>Opens a separate application window in which end users can preview the output that would be generated by 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 void Preview(C1GanttView view, ReportOptions reportOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Preview(view As C1GanttView, reportOptions As ReportOptions)</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="C1.WPF.GanttView.C1GanttView.html">C1GanttView</a></td>
      <td><span class="parametername">view</span></td>
      <td><p>The <a class="xref" href="C1.WPF.GanttView.C1GanttView.html">C1GanttView</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.GanttView.ReportOptions.html">ReportOptions</a></td>
      <td><span class="parametername">reportOptions</span></td>
      <td><p>The <a class="xref" href="C1.WPF.GanttView.ReportOptions.html">ReportOptions</a> object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_GanttView_PrintManager_Preview_" data-uid="C1.WPF.GanttView.PrintManager.Preview*"></a>
<h4 id="C1_WPF_GanttView_PrintManager_Preview_C1_WPF_GanttView_C1GanttView_C1_WPF_GanttView_ReportOptions_System_String_" data-uid="C1.WPF.GanttView.PrintManager.Preview(C1.WPF.GanttView.C1GanttView,C1.WPF.GanttView.ReportOptions,System.String)">Preview(C1GanttView, ReportOptions, string)</h4>
<div class="markdown level1 summary"><p>Opens a separate application window in wich end users can preview the output that would be generated by 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 void Preview(C1GanttView view, ReportOptions reportOptions, string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Preview(view As C1GanttView, reportOptions As ReportOptions, fileName As String)</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="C1.WPF.GanttView.C1GanttView.html">C1GanttView</a></td>
      <td><span class="parametername">view</span></td>
      <td><p>The <a class="xref" href="C1.WPF.GanttView.C1GanttView.html">C1GanttView</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.GanttView.ReportOptions.html">ReportOptions</a></td>
      <td><span class="parametername">reportOptions</span></td>
      <td><p>The <a class="xref" href="C1.WPF.GanttView.ReportOptions.html">ReportOptions</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> object specifies file name of customer style to preview.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
