# CSJ2K.j2k.entropy.PrecinctSizeSpec

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_entropy_PrecinctSizeSpec" data-uid="CSJ2K.j2k.entropy.PrecinctSizeSpec" class="text-break">PrecinctSizeSpec Class
</h1>
  <div class="markdown level0 summary"></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"><a class="xref" href="CSJ2K.j2k.ModuleSpec.html">ModuleSpec</a></div>
    <div class="level2"><span class="xref">PrecinctSizeSpec</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.entropy.html">CSJ2K.j2k.entropy</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_entropy_PrecinctSizeSpec_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PrecinctSizeSpec : ModuleSpec</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PrecinctSizeSpec
    Inherits ModuleSpec</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="CSJ2K_j2k_entropy_PrecinctSizeSpec__ctor_System_Int32_System_Int32_System_Byte_CSJ2K_j2k_IntegerSpec_" data-uid="CSJ2K.j2k.entropy.PrecinctSizeSpec.#ctor(System.Int32,System.Int32,System.Byte,CSJ2K.j2k.IntegerSpec)">
          <a class="xref" href="CSJ2K.j2k.entropy.PrecinctSizeSpec.-ctor.html#CSJ2K_j2k_entropy_PrecinctSizeSpec__ctor_System_Int32_System_Int32_System_Byte_CSJ2K_j2k_IntegerSpec_">PrecinctSizeSpec(int, int, byte, IntegerSpec)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new PrecinctSizeSpec object for the specified number of tiles
and components.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_PrecinctSizeSpec__ctor_System_Int32_System_Int32_System_Byte_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_j2k_IntegerSpec_CSJ2K_j2k_util_ParameterList_" data-uid="CSJ2K.j2k.entropy.PrecinctSizeSpec.#ctor(System.Int32,System.Int32,System.Byte,CSJ2K.j2k.image.BlkImgDataSrc,CSJ2K.j2k.IntegerSpec,CSJ2K.j2k.util.ParameterList)">
          <a class="xref" href="CSJ2K.j2k.entropy.PrecinctSizeSpec.-ctor.html#CSJ2K_j2k_entropy_PrecinctSizeSpec__ctor_System_Int32_System_Int32_System_Byte_CSJ2K_j2k_image_BlkImgDataSrc_CSJ2K_j2k_IntegerSpec_CSJ2K_j2k_util_ParameterList_">PrecinctSizeSpec(int, int, byte, BlkImgDataSrc, IntegerSpec, ParameterList)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new PrecinctSizeSpec object for the specified number of tiles
and components and the ParameterList instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_PrecinctSizeSpec_getPPX_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.entropy.PrecinctSizeSpec.getPPX(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.entropy.PrecinctSizeSpec.getPPX.html#CSJ2K_j2k_entropy_PrecinctSizeSpec_getPPX_System_Int32_System_Int32_System_Int32_">getPPX(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the precinct partition width in component 'n' and tile 't' at
resolution level 'rl'. If the tile index is equal to -1 or if the
component index is equal to -1 it means that those should not be taken
into account.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_PrecinctSizeSpec_getPPY_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.entropy.PrecinctSizeSpec.getPPY(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.entropy.PrecinctSizeSpec.getPPY.html#CSJ2K_j2k_entropy_PrecinctSizeSpec_getPPY_System_Int32_System_Int32_System_Int32_">getPPY(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the precinct partition height in component 'n' and tile 't' at
resolution level 'rl'. If the tile index is equal to -1 or if the
component index is equal to -1 it means that those should not be taken
into account.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
