# C1.WPF.FlexGrid.PrintParameters

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_PrintParameters" data-uid="C1.WPF.FlexGrid.PrintParameters" class="text-break">PrintParameters Class
</h1>
  <div class="markdown level0 summary"><p>Describes parameters controlling how a grid's content is to be printed.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">PrintParameters</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexGrid.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_PrintParameters_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PrintParameters</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PrintParameters</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters__ctor" data-uid="C1.WPF.FlexGrid.PrintParameters.#ctor">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.-ctor.html#C1_WPF_FlexGrid_PrintParameters__ctor">PrintParameters()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_DocumentName" data-uid="C1.WPF.FlexGrid.PrintParameters.DocumentName">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.DocumentName.html#C1_WPF_FlexGrid_PrintParameters_DocumentName">DocumentName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the document to print.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_Margin" data-uid="C1.WPF.FlexGrid.PrintParameters.Margin">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.Margin.html#C1_WPF_FlexGrid_PrintParameters_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the margin around the page in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_MaxPages" data-uid="C1.WPF.FlexGrid.PrintParameters.MaxPages">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.MaxPages.html#C1_WPF_FlexGrid_PrintParameters_MaxPages">MaxPages</a>
        </td>
        <td class="markdown level1 summary"><p>The maximum number of pages to print.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_PrintFactory" data-uid="C1.WPF.FlexGrid.PrintParameters.PrintFactory">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.PrintFactory.html#C1_WPF_FlexGrid_PrintParameters_PrintFactory">PrintFactory</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the print factory to create necessary components for printing process.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_PrintQueue" data-uid="C1.WPF.FlexGrid.PrintParameters.PrintQueue">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.PrintQueue.html#C1_WPF_FlexGrid_PrintParameters_PrintQueue">PrintQueue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.printing.printqueue">PrintQueue</a> object defining printer to use,
can be null to use default printer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_PrintTicket" data-uid="C1.WPF.FlexGrid.PrintParameters.PrintTicket">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.PrintTicket.html#C1_WPF_FlexGrid_PrintParameters_PrintTicket">PrintTicket</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.printing.printticket">PrintTicket</a> object defining the print parameters,
can be null to use <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.printing.printqueue.defaultprintticket">DefaultPrintTicket</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_ScaleMode" data-uid="C1.WPF.FlexGrid.PrintParameters.ScaleMode">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.ScaleMode.html#C1_WPF_FlexGrid_PrintParameters_ScaleMode">ScaleMode</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies how the grid content should be scaled to fit the page.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_ShowPrintDialog" data-uid="C1.WPF.FlexGrid.PrintParameters.ShowPrintDialog">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.ShowPrintDialog.html#C1_WPF_FlexGrid_PrintParameters_ShowPrintDialog">ShowPrintDialog</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to display a print dialog before printing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_PrintParameters_ShowPrintPreview" data-uid="C1.WPF.FlexGrid.PrintParameters.ShowPrintPreview">
          <a class="xref" href="C1.WPF.FlexGrid.PrintParameters.ShowPrintPreview.html#C1_WPF_FlexGrid_PrintParameters_ShowPrintPreview">ShowPrintPreview</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets displaying the print preview dialog before printing.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
