# GrapeCity.Documents.Imaging.Region.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Region__ctor_" data-uid="GrapeCity.Documents.Imaging.Region.#ctor*">Region Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Region__ctor_" data-uid="GrapeCity.Documents.Imaging.Region.#ctor*"></a>
<h4 id="GrapeCity_Documents_Imaging_Region__ctor_GrapeCity_Documents_Imaging_IFigure___" data-uid="GrapeCity.Documents.Imaging.Region.#ctor(GrapeCity.Documents.Imaging.IFigure[])">Region(params IFigure[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> class with the alternate fill mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Region(params IFigure[] figures)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(ParamArray figures As IFigure())</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.IFigure.html">IFigure</a>[]</td>
      <td><span class="parametername">figures</span></td>
      <td><p>The array of figures to be added to the region.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_Region__ctor_" data-uid="GrapeCity.Documents.Imaging.Region.#ctor*"></a>
<h4 id="GrapeCity_Documents_Imaging_Region__ctor_GrapeCity_Documents_Drawing_FillMode_GrapeCity_Documents_Imaging_IFigure___" data-uid="GrapeCity.Documents.Imaging.Region.#ctor(GrapeCity.Documents.Drawing.FillMode,GrapeCity.Documents.Imaging.IFigure[])">Region(FillMode, params IFigure[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> class with explicitly provided fill mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Region(FillMode fillMode, params IFigure[] figures)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(fillMode As FillMode, ParamArray figures As IFigure())</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.Drawing.FillMode.html">FillMode</a></td>
      <td><span class="parametername">fillMode</span></td>
      <td><p>Specifies how the interior of closed figures is filled.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.IFigure.html">IFigure</a>[]</td>
      <td><span class="parametername">figures</span></td>
      <td><p>The array of figures to be added to the region.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_Region__ctor_" data-uid="GrapeCity.Documents.Imaging.Region.#ctor*"></a>
<h4 id="GrapeCity_Documents_Imaging_Region__ctor_GrapeCity_Documents_Imaging_GraphicsPath_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Region.#ctor(GrapeCity.Documents.Imaging.GraphicsPath,System.Boolean)">Region(GraphicsPath, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Region(GraphicsPath path, bool cloneFigures = true)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(path As GraphicsPath, Optional cloneFigures As Boolean = True)</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">path</span></td>
      <td><p>The path to be added to the region.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">cloneFigures</span></td>
      <td><p>Indicates if the source path figures should be cloned before adding to the new region.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
