# org.jpedal.jbig2.image.JBIG2Bitmap.readGenericRefinementRegion

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="org_jpedal_jbig2_image_JBIG2Bitmap_readGenericRefinementRegion_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readGenericRefinementRegion*">readGenericRefinementRegion Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="org_jpedal_jbig2_image_JBIG2Bitmap_readGenericRefinementRegion_" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readGenericRefinementRegion*"></a>
<h4 id="org_jpedal_jbig2_image_JBIG2Bitmap_readGenericRefinementRegion_System_Int32_System_Boolean_org_jpedal_jbig2_image_JBIG2Bitmap_System_Int32_System_Int32_System_Int16___System_Int16___" data-uid="org.jpedal.jbig2.image.JBIG2Bitmap.readGenericRefinementRegion(System.Int32,System.Boolean,org.jpedal.jbig2.image.JBIG2Bitmap,System.Int32,System.Int32,System.Int16[],System.Int16[])">readGenericRefinementRegion(int, bool, JBIG2Bitmap, int, int, short[], short[])</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 readGenericRefinementRegion(int template, bool typicalPredictionGenericRefinementOn, JBIG2Bitmap referredToBitmap, int referenceDX, int referenceDY, short[] adaptiveTemplateX, short[] adaptiveTemplateY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub readGenericRefinementRegion(template As Integer, typicalPredictionGenericRefinementOn As Boolean, referredToBitmap As JBIG2Bitmap, referenceDX As Integer, referenceDY As Integer, adaptiveTemplateX As Short(), adaptiveTemplateY As Short())</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.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.boolean">bool</a></td>
      <td><span class="parametername">typicalPredictionGenericRefinementOn</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="org.jpedal.jbig2.image.JBIG2Bitmap.html">JBIG2Bitmap</a></td>
      <td><span class="parametername">referredToBitmap</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">referenceDX</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">referenceDY</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">adaptiveTemplateX</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">adaptiveTemplateY</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
