# GrapeCity.Documents.Imaging.Region.CombineWithPath

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Region_CombineWithPath_" data-uid="GrapeCity.Documents.Imaging.Region.CombineWithPath*">CombineWithPath Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Region_CombineWithPath_" data-uid="GrapeCity.Documents.Imaging.Region.CombineWithPath*"></a>
<h4 id="GrapeCity_Documents_Imaging_Region_CombineWithPath_GrapeCity_Documents_Imaging_GraphicsPath_GrapeCity_Documents_Imaging_RegionCombineMode_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Region.CombineWithPath(GrapeCity.Documents.Imaging.GraphicsPath,GrapeCity.Documents.Imaging.RegionCombineMode,System.Boolean)">CombineWithPath(GraphicsPath, RegionCombineMode, bool)</h4>
<div class="markdown level1 summary"><p>Combines this region with a <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Region CombineWithPath(GraphicsPath inputPath, RegionCombineMode combineMode, bool cloneInputPath = true)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CombineWithPath(inputPath As GraphicsPath, combineMode As RegionCombineMode, Optional cloneInputPath As Boolean = True) As Region</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="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a></td>
      <td><span class="parametername">inputPath</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a> to combine with this region.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.RegionCombineMode.html">RegionCombineMode</a></td>
      <td><span class="parametername">combineMode</span></td>
      <td><p>The type of combine operation to perform.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">cloneInputPath</span></td>
      <td><p>Indicates if the input region should be cloned before combining.</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="GrapeCity.Documents.Imaging.Region.html">Region</a></td>
      <td><p>The actual region that is being combined with this instance.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_Region_CombineWithPath_" data-uid="GrapeCity.Documents.Imaging.Region.CombineWithPath*"></a>
<h4 id="GrapeCity_Documents_Imaging_Region_CombineWithPath_GrapeCity_Documents_Imaging_GraphicsPath_GrapeCity_Documents_Imaging_RegionCombineMode_System_Numerics_Matrix3x2_" data-uid="GrapeCity.Documents.Imaging.Region.CombineWithPath(GrapeCity.Documents.Imaging.GraphicsPath,GrapeCity.Documents.Imaging.RegionCombineMode,System.Numerics.Matrix3x2)">CombineWithPath(GraphicsPath, RegionCombineMode, Matrix3x2)</h4>
<div class="markdown level1 summary"><p>Combines this region with a <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Region CombineWithPath(GraphicsPath inputPath, RegionCombineMode combineMode, Matrix3x2 inputPathTransform)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CombineWithPath(inputPath As GraphicsPath, combineMode As RegionCombineMode, inputPathTransform As Matrix3x2) As Region</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="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a></td>
      <td><span class="parametername">inputPath</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Imaging.GraphicsPath.html">GraphicsPath</a> to combine with this region.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.RegionCombineMode.html">RegionCombineMode</a></td>
      <td><span class="parametername">combineMode</span></td>
      <td><p>The type of combine operation to perform.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a></td>
      <td><span class="parametername">inputPathTransform</span></td>
      <td><p>The transform to apply to inputPath before combining.</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="GrapeCity.Documents.Imaging.Region.html">Region</a></td>
      <td><p>The actual region that is being combined with this instance.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
