# C1.Util.DX.DataRectangle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DataRectangle" data-uid="C1.Util.DX.DataRectangle" class="text-break">DataRectangle Struct
</h1>
  <div class="markdown level0 summary"><p>Provides access to data organized in 2D.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_DataRectangle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct DataRectangle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure DataRectangle</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="C1_Util_DX_DataRectangle__ctor_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.DataRectangle.#ctor(System.IntPtr,System.Int32)">
          <a class="xref" href="C1.Util.DX.DataRectangle.-ctor.html#C1_Util_DX_DataRectangle__ctor_System_IntPtr_System_Int32_">DataRectangle(IntPtr, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DataRectangle.html">DataRectangle</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DataRectangle_DataPointer" data-uid="C1.Util.DX.DataRectangle.DataPointer">
          <a class="xref" href="C1.Util.DX.DataRectangle.DataPointer.html">DataPointer</a>
        </td>
        <td class="markdown level1 summary"><p>Pointer to the data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DataRectangle_Pitch" data-uid="C1.Util.DX.DataRectangle.Pitch">
          <a class="xref" href="C1.Util.DX.DataRectangle.Pitch.html">Pitch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of bytes per row.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
