# CSJ2K.Color.Boxes.JP2Box

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_Color_Boxes_JP2Box" data-uid="CSJ2K.Color.Boxes.JP2Box" class="text-break">JP2Box Class
</h1>
  <div class="markdown level0 summary"><p>The abstract super class modeling the aspects of
a JP2 box common to all such boxes.</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"><span class="xref">JP2Box</span></div>
      <div class="level2"><a class="xref" href="CSJ2K.Color.Boxes.ChannelDefinitionBox.html">ChannelDefinitionBox</a></div>
      <div class="level2"><a class="xref" href="CSJ2K.Color.Boxes.ColorSpecificationBox.html">ColorSpecificationBox</a></div>
      <div class="level2"><a class="xref" href="CSJ2K.Color.Boxes.ComponentMappingBox.html">ComponentMappingBox</a></div>
      <div class="level2"><a class="xref" href="CSJ2K.Color.Boxes.ImageHeaderBox.html">ImageHeaderBox</a></div>
      <div class="level2"><a class="xref" href="CSJ2K.Color.Boxes.PaletteBox.html">PaletteBox</a></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_JP2Box_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class JP2Box</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class 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_JP2Box__ctor" data-uid="CSJ2K.Color.Boxes.JP2Box.#ctor">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.-ctor.html#CSJ2K_Color_Boxes_JP2Box__ctor">JP2Box()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box__ctor_CSJ2K_j2k_io_RandomAccessIO_System_Int32_" data-uid="CSJ2K.Color.Boxes.JP2Box.#ctor(CSJ2K.j2k.io.RandomAccessIO,System.Int32)">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.-ctor.html#CSJ2K_Color_Boxes_JP2Box__ctor_CSJ2K_j2k_io_RandomAccessIO_System_Int32_">JP2Box(RandomAccessIO, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Construct a JP2Box from an input image.</p>
</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_Color_Boxes_JP2Box_boxEnd" data-uid="CSJ2K.Color.Boxes.JP2Box.boxEnd">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.boxEnd.html">boxEnd</a>
        </td>
        <td class="markdown level1 summary"><p>offset to end of box</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_boxStart" data-uid="CSJ2K.Color.Boxes.JP2Box.boxStart">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.boxStart.html">boxStart</a>
        </td>
        <td class="markdown level1 summary"><p>offset to start of box</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_dataStart" data-uid="CSJ2K.Color.Boxes.JP2Box.dataStart">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.dataStart.html">dataStart</a>
        </td>
        <td class="markdown level1 summary"><p>offset to start of data in box</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_eol" data-uid="CSJ2K.Color.Boxes.JP2Box.eol">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.eol.html">eol</a>
        </td>
        <td class="markdown level1 summary"><p>Platform dependant line terminator</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_in_Renamed" data-uid="CSJ2K.Color.Boxes.JP2Box.in_Renamed">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.in_Renamed.html">in_Renamed</a>
        </td>
        <td class="markdown level1 summary"><p>input file</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_length" data-uid="CSJ2K.Color.Boxes.JP2Box.length">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.length.html">length</a>
        </td>
        <td class="markdown level1 summary"><p>Length of the box.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_type" data-uid="CSJ2K.Color.Boxes.JP2Box.type">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.type.html">type</a>
        </td>
        <td class="markdown level1 summary"><p>Box type</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_Color_Boxes_JP2Box_getTypeString" data-uid="CSJ2K.Color.Boxes.JP2Box.getTypeString">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.getTypeString.html#CSJ2K_Color_Boxes_JP2Box_getTypeString">getTypeString()</a>
        </td>
        <td class="markdown level1 summary"><p>Return the box type as a String.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_Color_Boxes_JP2Box_getTypeString_System_Int32_" data-uid="CSJ2K.Color.Boxes.JP2Box.getTypeString(System.Int32)">
          <a class="xref" href="CSJ2K.Color.Boxes.JP2Box.getTypeString.html#CSJ2K_Color_Boxes_JP2Box_getTypeString_System_Int32_">getTypeString(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Return a String representation of the Box type.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
