# CSJ2K.j2k.wavelet.synthesis.InvWTFull.getCompData

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_wavelet_synthesis_InvWTFull_getCompData_" data-uid="CSJ2K.j2k.wavelet.synthesis.InvWTFull.getCompData*">getCompData Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_wavelet_synthesis_InvWTFull_getCompData_" data-uid="CSJ2K.j2k.wavelet.synthesis.InvWTFull.getCompData*"></a>
<h4 id="CSJ2K_j2k_wavelet_synthesis_InvWTFull_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_" data-uid="CSJ2K.j2k.wavelet.synthesis.InvWTFull.getCompData(CSJ2K.j2k.image.DataBlk,System.Int32)">getCompData(DataBlk, int)</h4>
<div class="markdown level1 summary"><p>Returns a block of image data containing the specifed rectangular area,
in the specified component, as a copy (see below). The rectangular area
is specified by the coordinates and dimensions of the 'blk' object.</p>
<pre><code>       &lt;p&gt;The area to return is specified by the 'ulx', 'uly', 'w' and 'h'
       members of the 'blk' argument. These members are not modified by this
       method.&lt;/p&gt;&lt;p&gt;The data returned by this method is always a copy of the internal
       data of this object, if any, and it can be modified &quot;in place&quot; without
       any problems after being returned. The 'offset' of the returned data is
       0, and the 'scanw' is the same as the block's width. See the 'DataBlk'
       class.&lt;/p&gt;&lt;p&gt;If the data array in 'blk' is &lt;tt&gt;null&lt;/tt&gt;, then a new one is
       created. If the data array is not &lt;tt&gt;null&lt;/tt&gt; then it must be big
       enough to contain the requested area.&lt;/p&gt;&lt;p&gt;The returned data always has its 'progressive' attribute unset (i.e
       false)&lt;/p&gt;
</code></pre>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override DataBlk getCompData(DataBlk blk, int c)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function getCompData(blk As DataBlk, c As Integer) As DataBlk</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="CSJ2K.j2k.image.DataBlk.html">DataBlk</a></td>
      <td><span class="parametername">blk</span></td>
      <td><p>Its coordinates and dimensions specify the area to
return. If it contains a non-null data array, then it must be large
enough. If it contains a null data array a new one is created. The
fields in this object are modified to return the data.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">c</span></td>
      <td><p>The index of the component from which to get the data.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="CSJ2K.j2k.image.DataBlk.html">DataBlk</a></td>
      <td><p>The requested DataBlk</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="CSJ2K.j2k.wavelet.synthesis.InverseWT.getCompData.html#CSJ2K_j2k_wavelet_synthesis_InverseWT_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">InverseWT.getCompData(DataBlk, int)</a></div>
<h5 id="CSJ2K_j2k_wavelet_synthesis_InvWTFull_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="CSJ2K.j2k.wavelet.synthesis.InvWTFull.getCompData.html#CSJ2K_j2k_wavelet_synthesis_InvWTFull_getCompData_CSJ2K_j2k_image_DataBlk_System_Int32_">getCompData(DataBlk, int)</a></div>
</div>
</div>
