# GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.GetBounds

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_GetBounds_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.GetBounds*">GetBounds Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_GetBounds_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.GetBounds*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_GetBounds" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.GetBounds">GetBounds()</h4>
<div class="markdown level1 summary"><p>Returns a rectangle that bounds this <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.html">GcBitmapGraphics.Path</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RectangleF GetBounds()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetBounds() As RectangleF</code></pre>
</div>
<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="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a> that represents a rectangle that bounds this <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.html">GcBitmapGraphics.Path</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Drawing.IPath.GetBounds.html#GrapeCity_Documents_Drawing_IPath_GetBounds">IPath.GetBounds()</a></div>


<a id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_GetBounds_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.GetBounds*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_GetBounds_System_Numerics_Matrix3x2_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.GetBounds(System.Numerics.Matrix3x2)">GetBounds(Matrix3x2)</h4>
<div class="markdown level1 summary"><p>Returns a rectangle that bounds this <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.html">GcBitmapGraphics.Path</a> when this path is transformed by the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RectangleF GetBounds(Matrix3x2 worldTransform)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetBounds(worldTransform As Matrix3x2) As RectangleF</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.numerics.matrix3x2">Matrix3x2</a></td>
      <td><span class="parametername">worldTransform</span></td>
      <td><p>The transform to apply to this path before calculating its bounds.</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="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a> that represents a rectangle that bounds this <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.html">GcBitmapGraphics.Path</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Drawing.IPath.GetBounds.html#GrapeCity_Documents_Drawing_IPath_GetBounds_System_Numerics_Matrix3x2_">IPath.GetBounds(Matrix3x2)</a></div>
</div>
