# GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion" class="text-break">CompiledRegion Class
</h1>
  <div class="markdown level0 summary"><p>Represents a region that is defined by a set of rectangles and polygons.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CompiledRegion</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.html">GrapeCity.ActiveReports.Rendering.Tools</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CompiledRegion</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion__ctor" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.-ctor.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion__ctor">CompiledRegion()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.html">CompiledRegion</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion__ctor_System_Collections_Generic_List_GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Entity__" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.#ctor(System.Collections.Generic.List{GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Entity})">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.-ctor.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion__ctor_System_Collections_Generic_List_GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Entity__">CompiledRegion(List&lt;Entity&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.html">CompiledRegion</a> class with the specified entities.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Entities" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Entities">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Entities.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Entities">Entities</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a read-only collection of entities defining the region.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Exclude_System_Drawing_PointF___" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Exclude(System.Drawing.PointF[])">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Exclude.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Exclude_System_Drawing_PointF___">Exclude(PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Exclude polygon from the region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Exclude_System_Drawing_RectangleF_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Exclude(System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Exclude.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Exclude_System_Drawing_RectangleF_">Exclude(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Excludes the specified rectangle from the region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Intersect_System_Drawing_PointF___" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Intersect(System.Drawing.PointF[])">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Intersect.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Intersect_System_Drawing_PointF___">Intersect(PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Intersects with polygon.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Intersect_System_Drawing_RectangleF_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Intersect(System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Intersect.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Intersect_System_Drawing_RectangleF_">Intersect(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Intersects the region with the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Union_System_Drawing_PointF___" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Union(System.Drawing.PointF[])">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Union.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Union_System_Drawing_PointF___">Union(PointF[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds polygon to the region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Union_System_Drawing_RectangleF_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Union(System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegion.Union.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_Union_System_Drawing_RectangleF_">Union(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a rectangle to the region.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegionExtensions.Exclude.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegionExtensions_Exclude_GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_GrapeCity_ActiveReports_Drawing_PathEx_">CompiledRegionExtensions.Exclude(CompiledRegion, PathEx)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegionExtensions.Intersect.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegionExtensions_Intersect_GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_GrapeCity_ActiveReports_Drawing_PathEx_">CompiledRegionExtensions.Intersect(CompiledRegion, PathEx)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.CompiledRegionExtensions.Union.html#GrapeCity_ActiveReports_Rendering_Tools_CompiledRegionExtensions_Union_GrapeCity_ActiveReports_Rendering_Tools_CompiledRegion_GrapeCity_ActiveReports_Drawing_PathEx_">CompiledRegionExtensions.Union(CompiledRegion, PathEx)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
