# CSJ2K.j2k.image.DataBlkInt.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_image_DataBlkInt__ctor_" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor*">DataBlkInt Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_image_DataBlkInt__ctor_" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor*"></a>
<h4 id="CSJ2K_j2k_image_DataBlkInt__ctor" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor">DataBlkInt()</h4>
<div class="markdown level1 summary"><p>Creates a DataBlkInt with 0 dimensions and no data array (i.e. data is
null).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataBlkInt()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="CSJ2K_j2k_image_DataBlkInt__ctor_" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor*"></a>
<h4 id="CSJ2K_j2k_image_DataBlkInt__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">DataBlkInt(int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Creates a DataBlkInt with the specified dimensions and position. The
data array is initialized to an array of size w*h.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataBlkInt(int ulx, int uly, int w, int h)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(ulx As Integer, uly As Integer, w As Integer, h As Integer)</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">ulx</span></td>
      <td><p>The horizontal coordinate of the upper-left corner of the
block</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">uly</span></td>
      <td><p>The vertical coordinate of the upper-left corner of the
block</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">w</span></td>
      <td><p>The width of the block (in pixels)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">h</span></td>
      <td><p>The height of the block (in pixels)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="CSJ2K_j2k_image_DataBlkInt__ctor_" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor*"></a>
<h4 id="CSJ2K_j2k_image_DataBlkInt__ctor_CSJ2K_j2k_image_DataBlkInt_" data-uid="CSJ2K.j2k.image.DataBlkInt.#ctor(CSJ2K.j2k.image.DataBlkInt)">DataBlkInt(DataBlkInt)</h4>
<div class="markdown level1 summary"><p>Copy constructor. Creates a DataBlkInt which is the copy of the
DataBlkInt given as paramter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataBlkInt(DataBlkInt src)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(src As DataBlkInt)</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.DataBlkInt.html">DataBlkInt</a></td>
      <td><span class="parametername">src</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
