# CSJ2K.Color.Boxes.ChannelDefinitionBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_Color_Boxes_ChannelDefinitionBox" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox" class="text-break">ChannelDefinitionBox Class
</h1>
  <div class="markdown level0 summary"><p>This class maps the components in the codestream
to channels in the image.  It models the Component
Mapping box in the JP2 header.</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"><a class="xref" href="CSJ2K.Color.Boxes.JP2Box.html">JP2Box</a></div>
    <div class="level2"><span class="xref">ChannelDefinitionBox</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.Color.Boxes.html">CSJ2K.Color.Boxes</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Pdf.4.8.dll</h6>
  <h5 id="CSJ2K_Color_Boxes_ChannelDefinitionBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ChannelDefinitionBox : JP2Box</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class ChannelDefinitionBox
    Inherits JP2Box</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_Color_Boxes_ChannelDefinitionBox__ctor_CSJ2K_j2k_io_RandomAccessIO_System_Int32_" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox.#ctor(CSJ2K.j2k.io.RandomAccessIO,System.Int32)">
          <a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.-ctor.html#CSJ2K_Color_Boxes_ChannelDefinitionBox__ctor_CSJ2K_j2k_io_RandomAccessIO_System_Int32_">ChannelDefinitionBox(RandomAccessIO, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Construct a ChannelDefinitionBox from an input image.</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_Color_Boxes_ChannelDefinitionBox_NDefs" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox.NDefs">
          <a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.NDefs.html#CSJ2K_Color_Boxes_ChannelDefinitionBox_NDefs">NDefs</a>
        </td>
        <td class="markdown level1 summary"></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_Color_Boxes_ChannelDefinitionBox_ToString" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox.ToString">
          <a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.ToString.html#CSJ2K_Color_Boxes_ChannelDefinitionBox_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Return a suitable String representation of the class instance.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_ChannelDefinitionBox_getAsoc_System_Int32_" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox.getAsoc(System.Int32)">
          <a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.getAsoc.html#CSJ2K_Color_Boxes_ChannelDefinitionBox_getAsoc_System_Int32_">getAsoc(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_ChannelDefinitionBox_getCn_System_Int32_" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox.getCn(System.Int32)">
          <a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.getCn.html#CSJ2K_Color_Boxes_ChannelDefinitionBox_getCn_System_Int32_">getCn(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_ChannelDefinitionBox_getTyp_System_Int32_" data-uid="CSJ2K.Color.Boxes.ChannelDefinitionBox.getTyp(System.Int32)">
          <a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.getTyp.html#CSJ2K_Color_Boxes_ChannelDefinitionBox_getTyp_System_Int32_">getTyp(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
