# GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate" class="text-break">MapPolygonTemplate Class
</h1>
  <div class="markdown level0 summary"><p>Defines a template to be applied to polygons within a polygon layer.</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"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapSpatialElementTemplate.html">MapSpatialElementTemplate</a></div>
    <div class="level2"><span class="xref">MapPolygonTemplate</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class MapPolygonTemplate : MapSpatialElementTemplate, ICloneable</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_PageReportModel_MapPolygonTemplate__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.-ctor.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate__ctor">MapPolygonTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.html">MapPolygonTemplate</a> class.</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_PageReportModel_MapPolygonTemplate_CenterPointOffsetX" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.CenterPointOffsetX">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.CenterPointOffsetX.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_CenterPointOffsetX">CenterPointOffsetX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the X offset for the polygon center point in geographic units.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_CenterPointOffsetY" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.CenterPointOffsetY">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.CenterPointOffsetY.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_CenterPointOffsetY">CenterPointOffsetY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Y offset for the polygon center point in geographic units.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_LabelPlacement" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.LabelPlacement">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.LabelPlacement.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_LabelPlacement">LabelPlacement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the label placement of the polygon.
That evaluates to one of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.PolygonLabelPlacement.html">MapPolygonTemplate.PolygonLabelPlacement</a>.
The default value is <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.PolygonLabelPlacement.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_PolygonLabelPlacement_MiddleCenter">MiddleCenter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_ScaleFactor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.ScaleFactor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.ScaleFactor.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_ScaleFactor">ScaleFactor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the factor by which the polygon will be scaled.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 1.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_ShowLabel" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.ShowLabel">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.ShowLabel.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_ShowLabel">ShowLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets if the label should be shown.
That evaluates to one of Auto, True, False
The default value is Auto.</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_PageReportModel_MapPolygonTemplate_Clone" data-uid="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonTemplate.Clone.html#GrapeCity_ActiveReports_PageReportModel_MapPolygonTemplate_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object that is a copy of the current instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
