# C1.WPF.Grid.GridPrintParameters

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridPrintParameters" data-uid="C1.WPF.Grid.GridPrintParameters" class="text-break">GridPrintParameters 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">GridPrintParameters</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridPrintParameters_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridPrintParameters</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridPrintParameters</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_Grid_GridPrintParameters__ctor" data-uid="C1.WPF.Grid.GridPrintParameters.#ctor">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.-ctor.html#C1_WPF_Grid_GridPrintParameters__ctor">GridPrintParameters()</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_Grid_GridPrintParameters_DocumentName" data-uid="C1.WPF.Grid.GridPrintParameters.DocumentName">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.DocumentName.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_Margin" data-uid="C1.WPF.Grid.GridPrintParameters.Margin">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.Margin.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_MaxPages" data-uid="C1.WPF.Grid.GridPrintParameters.MaxPages">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.MaxPages.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_PrintFactory" data-uid="C1.WPF.Grid.GridPrintParameters.PrintFactory">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.PrintFactory.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_PrintQueue" data-uid="C1.WPF.Grid.GridPrintParameters.PrintQueue">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.PrintQueue.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_PrintTicket" data-uid="C1.WPF.Grid.GridPrintParameters.PrintTicket">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.PrintTicket.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_ScaleMode" data-uid="C1.WPF.Grid.GridPrintParameters.ScaleMode">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.ScaleMode.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_ShowPrintDialog" data-uid="C1.WPF.Grid.GridPrintParameters.ShowPrintDialog">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.ShowPrintDialog.html#C1_WPF_Grid_GridPrintParameters_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_Grid_GridPrintParameters_ShowPrintPreview" data-uid="C1.WPF.Grid.GridPrintParameters.ShowPrintPreview">
          <a class="xref" href="C1.WPF.Grid.GridPrintParameters.ShowPrintPreview.html#C1_WPF_Grid_GridPrintParameters_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>
