# org.jpedal.jbig2.image.JBIG2Bitmap.readTextRegion

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="org_jpedal_jbig2_image_JBIG2Bitmap_readTextRegion_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readTextRegion*">readTextRegion Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="org_jpedal_jbig2_image_JBIG2Bitmap_readTextRegion_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readTextRegion*"></a>
<h4 id="org_jpedal_jbig2_image_JBIG2Bitmap_readTextRegion_System_Boolean_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_____System_Int32_org_jpedal_jbig2_image_JBIG2Bitmap___System_Int32_System_Int32_System_Boolean_System_Int32_System_Int32_System_Int32_____System_Int32_____System_Int32_____System_Int32_____System_Int32_____System_Int32_____System_Int32_____System_Int32_____System_Int32_System_Int16___System_Int16___org_jpedal_jbig2_decoders_JBIG2StreamDecoder_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readTextRegion(System.Boolean,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32[][],System.Int32,org.jpedal.jbig2.image.JBIG2Bitmap[],System.Int32,System.Int32,System.Boolean,System.Int32,System.Int32,System.Int32[][],System.Int32[][],System.Int32[][],System.Int32[][],System.Int32[][],System.Int32[][],System.Int32[][],System.Int32[][],System.Int32,System.Int16[],System.Int16[],org.jpedal.jbig2.decoders.JBIG2StreamDecoder)">readTextRegion(bool, bool, int, int, int, int[][], int, JBIG2Bitmap[], int, int, bool, int, int, int[][], int[][], int[][], int[][], int[][], int[][], int[][], int[][], int, short[], short[], JBIG2StreamDecoder)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void readTextRegion(bool huffman, bool symbolRefine, int noOfSymbolInstances, int logStrips, int noOfSymbols, int[][] symbolCodeTable, int symbolCodeLength, JBIG2Bitmap[] symbols, int defaultPixel, int combinationOperator, bool transposed, int referenceCorner, int sOffset, int[][] huffmanFSTable, int[][] huffmanDSTable, int[][] huffmanDTTable, int[][] huffmanRDWTable, int[][] huffmanRDHTable, int[][] huffmanRDXTable, int[][] huffmanRDYTable, int[][] huffmanRSizeTable, int template, short[] symbolRegionAdaptiveTemplateX, short[] symbolRegionAdaptiveTemplateY, JBIG2StreamDecoder decoder)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub readTextRegion(huffman As Boolean, symbolRefine As Boolean, noOfSymbolInstances As Integer, logStrips As Integer, noOfSymbols As Integer, symbolCodeTable As Integer()(), symbolCodeLength As Integer, symbols As JBIG2Bitmap(), defaultPixel As Integer, combinationOperator As Integer, transposed As Boolean, referenceCorner As Integer, sOffset As Integer, huffmanFSTable As Integer()(), huffmanDSTable As Integer()(), huffmanDTTable As Integer()(), huffmanRDWTable As Integer()(), huffmanRDHTable As Integer()(), huffmanRDXTable As Integer()(), huffmanRDYTable As Integer()(), huffmanRSizeTable As Integer()(), template As Integer, symbolRegionAdaptiveTemplateX As Short(), symbolRegionAdaptiveTemplateY As Short(), decoder As JBIG2StreamDecoder)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">huffman</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">symbolRefine</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">noOfSymbolInstances</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">logStrips</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">noOfSymbols</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">symbolCodeTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">symbolCodeLength</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="org.jpedal.jbig2.image.JBIG2Bitmap.html">JBIG2Bitmap</a>[]</td>
      <td><span class="parametername">symbols</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">defaultPixel</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">combinationOperator</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">transposed</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">referenceCorner</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sOffset</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanFSTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanDSTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanDTTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanRDWTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanRDHTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanRDXTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanRDYTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[][]</td>
      <td><span class="parametername">huffmanRSizeTable</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">template</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a>[]</td>
      <td><span class="parametername">symbolRegionAdaptiveTemplateX</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a>[]</td>
      <td><span class="parametername">symbolRegionAdaptiveTemplateY</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="org.jpedal.jbig2.decoders.JBIG2StreamDecoder.html">JBIG2StreamDecoder</a></td>
      <td><span class="parametername">decoder</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
