# GrapeCity.ActiveReports.Printing.PaperSize.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Printing_PaperSize__ctor_" data-uid="GrapeCity.ActiveReports.Printing.PaperSize.#ctor*">PaperSize Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Printing_PaperSize__ctor_" data-uid="GrapeCity.ActiveReports.Printing.PaperSize.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Printing_PaperSize__ctor_GrapeCity_ActiveReports_Printing_PaperKind_System_String_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Printing.PaperSize.#ctor(GrapeCity.ActiveReports.Printing.PaperKind,System.String,System.Int32,System.Int32)">PaperSize(PaperKind, string, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.ActiveReports.Printing.PaperSize.html">PaperSize</a> with the specified paper kind, name, width, and height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PaperSize(PaperKind kind, string name, int width, int height)</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="GrapeCity.ActiveReports.Printing.PaperKind.html">PaperKind</a></td>
      <td><span class="parametername">kind</span></td>
      <td><p>The paper kind.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name of the paper size.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the paper in hundredths of an inch.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the paper in hundredths of an inch.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Printing_PaperSize__ctor_" data-uid="GrapeCity.ActiveReports.Printing.PaperSize.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Printing_PaperSize__ctor_System_String_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Printing.PaperSize.#ctor(System.String,System.Int32,System.Int32)">PaperSize(string, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.ActiveReports.Printing.PaperSize.html">PaperSize</a> with a custom paper kind and the specified name, width, and height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PaperSize(string name, int width, int height)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name of the custom paper size.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the paper in hundredths of an inch.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the paper in hundredths of an inch.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
