# CSJ2K.j2k.wavelet.WTDecompSpec

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_wavelet_WTDecompSpec" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec" class="text-break">WTDecompSpec 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"><span class="xref">WTDecompSpec</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.wavelet.html">CSJ2K.j2k.wavelet</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_wavelet_WTDecompSpec_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WTDecompSpec</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WTDecompSpec</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_wavelet_WTDecompSpec__ctor_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.#ctor(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.-ctor.html#CSJ2K_j2k_wavelet_WTDecompSpec__ctor_System_Int32_System_Int32_System_Int32_">WTDecompSpec(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_DEC_SPEC_COMP_DEF" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_COMP_DEF">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_COMP_DEF.html">DEC_SPEC_COMP_DEF</a>
        </td>
        <td class="markdown level1 summary"><p>The identifier for &quot;component default&quot; specified decomposition</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_DEC_SPEC_MAIN_DEF" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_MAIN_DEF">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_MAIN_DEF.html">DEC_SPEC_MAIN_DEF</a>
        </td>
        <td class="markdown level1 summary"><p>The identifier for &quot;main default&quot; specified decomposition</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_DEC_SPEC_TILE_COMP" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_TILE_COMP">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_TILE_COMP.html">DEC_SPEC_TILE_COMP</a>
        </td>
        <td class="markdown level1 summary"><p>The identifier for &quot;tile and component specific&quot; specified
decomposition</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_DEC_SPEC_TILE_DEF" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_TILE_DEF">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.DEC_SPEC_TILE_DEF.html">DEC_SPEC_TILE_DEF</a>
        </td>
        <td class="markdown level1 summary"><p>The identifier for &quot;tile specific default&quot; specified decomposition</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_WT_DECOMP_DYADIC" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.WT_DECOMP_DYADIC">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.WT_DECOMP_DYADIC.html">WT_DECOMP_DYADIC</a>
        </td>
        <td class="markdown level1 summary"><p>ID for the dyadic wavelet tree decomposition (also called
&quot;Mallat&quot; in JPEG 2000): 0x00.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_WT_DECOMP_PACKET" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.WT_DECOMP_PACKET">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.WT_DECOMP_PACKET.html">WT_DECOMP_PACKET</a>
        </td>
        <td class="markdown level1 summary"><p>ID for the PACKET (as defined in JPEG 2000) wavelet tree
decomposition (2 levels of decomposition in the high bands and
some specified number for the lowest LL band): 0x01.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_WT_DECOMP_SPACL" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.WT_DECOMP_SPACL">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.WT_DECOMP_SPACL.html">WT_DECOMP_SPACL</a>
        </td>
        <td class="markdown level1 summary"><p>ID for the SPACL (as defined in JPEG 2000) wavelet tree
decomposition (1 level of decomposition in the high bands and
some specified number for the lowest LL band): 0x02.</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_wavelet_WTDecompSpec_MainDefDecompType" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.MainDefDecompType">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.MainDefDecompType.html#CSJ2K_j2k_wavelet_WTDecompSpec_MainDefDecompType">MainDefDecompType</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the main default decomposition type.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_MainDefLevels" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.MainDefLevels">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.MainDefLevels.html#CSJ2K_j2k_wavelet_WTDecompSpec_MainDefLevels">MainDefLevels</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the main default decomposition number of levels.</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_wavelet_WTDecompSpec_getDecSpecType_System_Int32_" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.getDecSpecType(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.getDecSpecType.html#CSJ2K_j2k_wavelet_WTDecompSpec_getDecSpecType_System_Int32_">getDecSpecType(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_getDecompType_System_Int32_" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.getDecompType(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.getDecompType.html#CSJ2K_j2k_wavelet_WTDecompSpec_getDecompType_System_Int32_">getDecompType(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_getLevels_System_Int32_" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.getLevels(System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.getLevels.html#CSJ2K_j2k_wavelet_WTDecompSpec_getLevels_System_Int32_">getLevels(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_wavelet_WTDecompSpec_setMainCompDefDecompType_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.wavelet.WTDecompSpec.setMainCompDefDecompType(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="CSJ2K.j2k.wavelet.WTDecompSpec.setMainCompDefDecompType.html#CSJ2K_j2k_wavelet_WTDecompSpec_setMainCompDefDecompType_System_Int32_System_Int32_System_Int32_">setMainCompDefDecompType(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the &quot;component main default&quot; decomposition type and number of
levels for the specified component. Both 'dec' and 'lev' can not be
negative at the same time.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
