# GrapeCity.ActiveReports.PageReportModel.MapLegend

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_MapLegend" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend" class="text-break">MapLegend Class
</h1>
  <div class="markdown level0 summary"><p>Defines a legend to be drawn within a map</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.MapSubItem.html">MapSubItem</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapDockableSubItem.html">MapDockableSubItem</a></div>
    <div class="level3"><span class="xref">MapLegend</span></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_MapLegend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class MapLegend : MapDockableSubItem</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_MapLegend__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.-ctor.html#GrapeCity_ActiveReports_PageReportModel_MapLegend__ctor">MapLegend()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.html">MapLegend</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_MapLegend_AutoFitTextDisabled" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.AutoFitTextDisabled">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.AutoFitTextDisabled.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_AutoFitTextDisabled">AutoFitTextDisabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets text will not be autosized to fit in the legend area.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_EquallySpacedItems" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.EquallySpacedItems">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.EquallySpacedItems.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_EquallySpacedItems">EquallySpacedItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets legend items should be equally spaced.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_InterlacedRows" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.InterlacedRows">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.InterlacedRows.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_InterlacedRows">InterlacedRows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets legend rows should use interlaced colors.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_InterlacedRowsColor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.InterlacedRowsColor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.InterlacedRowsColor.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_InterlacedRowsColor">InterlacedRowsColor</a>
        </td>
        <td class="markdown level1 summary"><p>The background color to use for interlaced legend rows.
The default value is LightGray.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_Layout" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.Layout">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.Layout.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_Layout">Layout</a>
        </td>
        <td class="markdown level1 summary"><p>The arrangement of labels within the legend.
That evaluates to one of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.html">MapLegend.LegendLayout</a>.
The default value is <span class="xref">GrapeCity.ActiveReports.PageReportModel.MapLegend.LegendLayout.AutoTable</span>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_MapLegendTitle" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.MapLegendTitle">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.MapLegendTitle.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_MapLegendTitle">MapLegendTitle</a>
        </td>
        <td class="markdown level1 summary"><p>Title displays in the legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_MinFontSize" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.MinFontSize">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.MinFontSize.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_MinFontSize">MinFontSize</a>
        </td>
        <td class="markdown level1 summary"><p>Minimum size for autosized legend text.
An expression should evaluate to a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a>.
The default value is 7pt.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_Name" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.Name">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.Name.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Name of the legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLegend_TextWrapThreshold" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLegend.TextWrapThreshold">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLegend.TextWrapThreshold.html#GrapeCity_ActiveReports_PageReportModel_MapLegend_TextWrapThreshold">TextWrapThreshold</a>
        </td>
        <td class="markdown level1 summary"><p>Number of characters after which the legend text wraps.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>.
The default value is 25.</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>
