# CSJ2K.j2k.entropy.CBlkSizeSpec

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_entropy_CBlkSizeSpec" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec" class="text-break">CBlkSizeSpec 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">CBlkSizeSpec</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_CBlkSizeSpec_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CBlkSizeSpec : ModuleSpec</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CBlkSizeSpec
    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_CBlkSizeSpec__ctor_System_Int32_System_Int32_System_Byte_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.#ctor(System.Int32,System.Int32,System.Byte)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.-ctor.html#CSJ2K_j2k_entropy_CBlkSizeSpec__ctor_System_Int32_System_Int32_System_Byte_">CBlkSizeSpec(int, int, byte)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new CBlkSizeSpec object for the specified number of tiles and
components.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec__ctor_System_Int32_System_Int32_System_Byte_CSJ2K_j2k_util_ParameterList_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.#ctor(System.Int32,System.Int32,System.Byte,CSJ2K.j2k.util.ParameterList)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.-ctor.html#CSJ2K_j2k_entropy_CBlkSizeSpec__ctor_System_Int32_System_Int32_System_Byte_CSJ2K_j2k_util_ParameterList_">CBlkSizeSpec(int, int, byte, ParameterList)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new CBlkSizeSpec object for the specified number of tiles and
components and the ParameterList instance.</p>
</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="CSJ2K_j2k_entropy_CBlkSizeSpec_MaxCBlkHeight" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.MaxCBlkHeight">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.MaxCBlkHeight.html#CSJ2K_j2k_entropy_CBlkSizeSpec_MaxCBlkHeight">MaxCBlkHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the maximum code-block's height</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec_MaxCBlkWidth" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.MaxCBlkWidth">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.MaxCBlkWidth.html#CSJ2K_j2k_entropy_CBlkSizeSpec_MaxCBlkWidth">MaxCBlkWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the maximum code-block's width</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_CBlkSizeSpec_getCBlkHeight_System_Byte_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.getCBlkHeight(System.Byte,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.getCBlkHeight.html#CSJ2K_j2k_entropy_CBlkSizeSpec_getCBlkHeight_System_Byte_System_Int32_System_Int32_">getCBlkHeight(byte, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the code-block height:</p>
<pre><code>       &lt;ul&gt;&lt;li&gt;for the specified tile/component&lt;/li&gt;&lt;li&gt;for the specified tile&lt;/li&gt;&lt;li&gt;for the specified component&lt;/li&gt;&lt;li&gt;default value&lt;/li&gt;&lt;/ul&gt;

       The value returned depends on the value of the variable 'type' which
       can take the following values :

       &lt;ul&gt;&lt;li&gt;SPEC_DEF -&gt; Default value is returned. t and c values are
       ignored&lt;/li&gt;&lt;li&gt;SPEC_COMP_DEF -&gt; Component default value is returned. t value is
       ignored&lt;/li&gt;&lt;li&gt;SPEC_TILE_DEF -&gt; Tile default value is returned. c value is
       ignored&lt;/li&gt;&lt;li&gt;SPEC_TILE_COMP -&gt; Tile/Component value is returned.&lt;/li&gt;&lt;/ul&gt;
</code></pre>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec_getCBlkWidth_System_Byte_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.getCBlkWidth(System.Byte,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.getCBlkWidth.html#CSJ2K_j2k_entropy_CBlkSizeSpec_getCBlkWidth_System_Byte_System_Int32_System_Int32_">getCBlkWidth(byte, int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec_setCompDef_System_Int32_System_Object_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.setCompDef(System.Int32,System.Object)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.setCompDef.html#CSJ2K_j2k_entropy_CBlkSizeSpec_setCompDef_System_Int32_System_Object_">setCompDef(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets default value for specified component and specValType tag if
allowed by its priority.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec_setDefault_System_Object_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.setDefault(System.Object)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.setDefault.html#CSJ2K_j2k_entropy_CBlkSizeSpec_setDefault_System_Object_">setDefault(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets default value for this module</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec_setTileCompVal_System_Int32_System_Int32_System_Object_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.setTileCompVal(System.Int32,System.Int32,System.Object)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.setTileCompVal.html#CSJ2K_j2k_entropy_CBlkSizeSpec_setTileCompVal_System_Int32_System_Int32_System_Object_">setTileCompVal(int, int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets value for specified tile-component.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CBlkSizeSpec_setTileDef_System_Int32_System_Object_" data-uid="CSJ2K.j2k.entropy.CBlkSizeSpec.setTileDef(System.Int32,System.Object)">
          <a class="xref" href="CSJ2K.j2k.entropy.CBlkSizeSpec.setTileDef.html#CSJ2K_j2k_entropy_CBlkSizeSpec_setTileDef_System_Int32_System_Object_">setTileDef(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets default value for specified tile and specValType tag if allowed by
its priority.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
