# org.jpedal.jbig2.JBIG2Decoder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="org_jpedal_jbig2_JBIG2Decoder" data-uid="org.jpedal.jbig2.JBIG2Decoder" class="text-break">JBIG2Decoder 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">JBIG2Decoder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="org.jpedal.jbig2.html">org.jpedal.jbig2</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="org_jpedal_jbig2_JBIG2Decoder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class JBIG2Decoder</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class JBIG2Decoder</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="org_jpedal_jbig2_JBIG2Decoder__ctor" data-uid="org.jpedal.jbig2.JBIG2Decoder.#ctor">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.-ctor.html#org_jpedal_jbig2_JBIG2Decoder__ctor">JBIG2Decoder()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor</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="org_jpedal_jbig2_JBIG2Decoder_AllSegments" data-uid="org.jpedal.jbig2.JBIG2Decoder.AllSegments">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.AllSegments.html#org_jpedal_jbig2_JBIG2Decoder_AllSegments">AllSegments</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="org_jpedal_jbig2_JBIG2Decoder_GlobalData" data-uid="org.jpedal.jbig2.JBIG2Decoder.GlobalData">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.GlobalData.html#org_jpedal_jbig2_JBIG2Decoder_GlobalData">GlobalData</a>
        </td>
        <td class="markdown level1 summary"><p>If the data stream is taken from a PDF, there may be some global data. Pass any global data
in here.  Call this method before decodeJBIG2(...)</p>
</td>
      </tr>
      <tr>
        <td id="org_jpedal_jbig2_JBIG2Decoder_NumberOfPages" data-uid="org.jpedal.jbig2.JBIG2Decoder.NumberOfPages">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.NumberOfPages.html#org_jpedal_jbig2_JBIG2Decoder_NumberOfPages">NumberOfPages</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="org_jpedal_jbig2_JBIG2Decoder_NumberOfPagesKnown" data-uid="org.jpedal.jbig2.JBIG2Decoder.NumberOfPagesKnown">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.NumberOfPagesKnown.html#org_jpedal_jbig2_JBIG2Decoder_NumberOfPagesKnown">NumberOfPagesKnown</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="org_jpedal_jbig2_JBIG2Decoder_RandomAccessOrganisationUsed" data-uid="org.jpedal.jbig2.JBIG2Decoder.RandomAccessOrganisationUsed">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.RandomAccessOrganisationUsed.html#org_jpedal_jbig2_JBIG2Decoder_RandomAccessOrganisationUsed">RandomAccessOrganisationUsed</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="org_jpedal_jbig2_JBIG2Decoder_decodeJBIG2_System_Byte___" data-uid="org.jpedal.jbig2.JBIG2Decoder.decodeJBIG2(System.Byte[])">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.decodeJBIG2.html#org_jpedal_jbig2_JBIG2Decoder_decodeJBIG2_System_Byte___">decodeJBIG2(byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Decodes a JBIG2 image from a byte array</p>
</td>
      </tr>
      <tr>
        <td id="org_jpedal_jbig2_JBIG2Decoder_findPageSegement_System_Int32_" data-uid="org.jpedal.jbig2.JBIG2Decoder.findPageSegement(System.Int32)">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.findPageSegement.html#org_jpedal_jbig2_JBIG2Decoder_findPageSegement_System_Int32_">findPageSegement(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="org_jpedal_jbig2_JBIG2Decoder_findSegment_System_Int32_" data-uid="org.jpedal.jbig2.JBIG2Decoder.findSegment(System.Int32)">
          <a class="xref" href="org.jpedal.jbig2.JBIG2Decoder.findSegment.html#org_jpedal_jbig2_JBIG2Decoder_findSegment_System_Int32_">findSegment(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
