# C1.Framework.Drawing.Gdi.Graphics.ClipBound

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_Graphics_ClipBound_" data-uid="C1.Framework.Drawing.Gdi.Graphics.ClipBound*">ClipBound Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_Graphics_ClipBound_" data-uid="C1.Framework.Drawing.Gdi.Graphics.ClipBound*"></a>
<h4 id="C1_Framework_Drawing_Gdi_Graphics_ClipBound" data-uid="C1.Framework.Drawing.Gdi.Graphics.ClipBound">ClipBound</h4>
<div class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> structure that bounds the clipping region of this <a class="xref" href="C1.Framework.Drawing.Gdi.Graphics.html">Graphics</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Rectangle ClipBound { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property ClipBound As Rectangle</code></pre>
</div>
<h5 class="propertyValue">Property Value</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.rectangle">Rectangle</a></td>
      <td><p>This property indicates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> structure that represents a bounding rectangle for the clipping
region of this <a class="xref" href="C1.Framework.Drawing.Gdi.Graphics.html">Graphics</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Drawing_Gdi_Graphics_ClipBound_examples">Examples</h5>
<p>How to judge a Grphics's clip is empty?</p>
<pre><code class="lang-csharp">bool isClipEmpty = (graphics.ClipBound == Rectangle.Empty);</code></pre>

</div>
