# GrapeCity.ActiveReports.PageReportModel.MapLineRules

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_MapLineRules" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLineRules" class="text-break">MapLineRules Class
</h1>
  <div class="markdown level0 summary"><p>Defines a set of rules to be applied on lines</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">MapLineRules</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_MapLineRules_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapLineRules</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_MapLineRules__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLineRules.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLineRules.-ctor.html#GrapeCity_ActiveReports_PageReportModel_MapLineRules__ctor">MapLineRules()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLineRules.html">MapLineRules</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_MapLineRules_MapColorRule" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLineRules.MapColorRule">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLineRules.MapColorRule.html#GrapeCity_ActiveReports_PageReportModel_MapLineRules_MapColorRule">MapColorRule</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the color of the line based on a data field. Overrides MapLineTemplate.Style.Color</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLineRules_MapSizeRule" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLineRules.MapSizeRule">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLineRules.MapSizeRule.html#GrapeCity_ActiveReports_PageReportModel_MapLineRules_MapSizeRule">MapSizeRule</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the line based on a data field.  Overrides MapLineTemplate.Width</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>
