# C1.WinUI.Viewer.C1WinUICanvasGraphics.CreateClipRegion

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_CreateClipRegion_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.CreateClipRegion*">CreateClipRegion Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Viewer_C1WinUICanvasGraphics_CreateClipRegion_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.CreateClipRegion*"></a>
<h4 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_CreateClipRegion_C1_Document_Util_IPath_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.CreateClipRegion(C1.Document.Util.IPath)">CreateClipRegion(IPath)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override IClipRegion CreateClipRegion(IPath graphicsPath)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function CreateClipRegion(graphicsPath As IPath) As IClipRegion</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><span class="xref">IPath</span></td>
      <td><span class="parametername">graphicsPath</span></td>
      <td></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><span class="xref">IClipRegion</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_WinUI_Viewer_C1WinUICanvasGraphics_CreateClipRegion_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.CreateClipRegion*"></a>
<h4 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_CreateClipRegion_C1_Interop_Rect_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.CreateClipRegion(C1.Interop.Rect)">CreateClipRegion(Rect)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override IClipRegion CreateClipRegion(Rect bounds)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function CreateClipRegion(bounds As Rect) As IClipRegion</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><span class="xref">Rect</span></td>
      <td><span class="parametername">bounds</span></td>
      <td></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><span class="xref">IClipRegion</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
