# GrapeCity.ActiveReports.PageReportModel.MapViewport

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_MapViewport" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport" class="text-break">MapViewport Class
</h1>
  <div class="markdown level0 summary"><p>Defines the map viewport</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"><span class="xref">MapViewport</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_MapViewport_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class MapViewport : MapSubItem</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_MapViewport__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.-ctor.html#GrapeCity_ActiveReports_PageReportModel_MapViewport__ctor">MapViewport()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.html">MapViewport</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_MapViewport_GeographicalMeridiansLabelFormatDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.GeographicalMeridiansLabelFormatDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.GeographicalMeridiansLabelFormatDefaultValue.html">GeographicalMeridiansLabelFormatDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the geographical format of map medians labels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_GeographicalParallelsLabelFormatDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.GeographicalParallelsLabelFormatDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.GeographicalParallelsLabelFormatDefaultValue.html">GeographicalParallelsLabelFormatDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the geographical format of map parallels labels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_HeightDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.HeightDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.HeightDefaultValue.html">HeightDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the height of map viewport.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_LeftDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.LeftDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.LeftDefaultValue.html">LeftDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the X coordinate of the map viewport top left point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MapCoordinateSystemDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapCoordinateSystemDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapCoordinateSystemDefaultValue.html">MapCoordinateSystemDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the map projection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MaximumZoomDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MaximumZoomDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MaximumZoomDefaultValue.html">MaximumZoomDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the maximum zoom level allowed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MinimumZoomDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MinimumZoomDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MinimumZoomDefaultValue.html">MinimumZoomDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the minimum zoom level allowed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_PlanarLabelFormatDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.PlanarLabelFormatDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.PlanarLabelFormatDefaultValue.html">PlanarLabelFormatDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the planar format of map medians labels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_TopDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.TopDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.TopDefaultValue.html">TopDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the Y coordinate of the map viewport top left point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_WidthDefaultValue" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.WidthDefaultValue">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.WidthDefaultValue.html">WidthDefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Default value for the width of map viewport.</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_MapViewport_ContentMargin" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.ContentMargin">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.ContentMargin.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_ContentMargin">ContentMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content margin.
An expression should evaluate to a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a>.
The default value is 10pt.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_GridUnderContent" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.GridUnderContent">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.GridUnderContent.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_GridUnderContent">GridUnderContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the meridians and parallels will be drawn under the map content.
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_MapViewport_MapCoordinateSystem" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapCoordinateSystem">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapCoordinateSystem.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapCoordinateSystem">MapCoordinateSystem</a>
        </td>
        <td class="markdown level1 summary"><p>The map projection
That evaluates to one of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapCoordinateSystem.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapCoordinateSystem">MapCoordinateSystem</a>.
The default value is <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapCoordinateSystem.html#GrapeCity_ActiveReports_PageReportModel_MapCoordinateSystem_Planar">Planar</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MapLimits" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapLimits">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapLimits.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapLimits">MapLimits</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the map limits. Automatically calculated if omitted.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MapMeridians" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapMeridians">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapMeridians.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapMeridians">MapMeridians</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the map meridians.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MapParallels" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapParallels">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapParallels.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapParallels">MapParallels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the map parallels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MapProjection" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapProjection">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapProjection.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapProjection">MapProjection</a>
        </td>
        <td class="markdown level1 summary"><p>The map projection.
That evaluates to one of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapProjection.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapProjection">MapProjection</a>.
The default value is <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapProjection.html#GrapeCity_ActiveReports_PageReportModel_MapProjection_Equirectangular">Equirectangular</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MapView" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapView">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapView.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapView">MapView</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the view center and zoom.
An expression should evaluate to a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MapView.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MapView">MapView</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MaximumZoom" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MaximumZoom">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MaximumZoom.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MaximumZoom">MaximumZoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum zoom level allowed.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 20000.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_MinimumZoom" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.MinimumZoom">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.MinimumZoom.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_MinimumZoom">MinimumZoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum zoom level allowed.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 20.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapViewport_ProjectionCenterX" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.ProjectionCenterX">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.ProjectionCenterX.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_ProjectionCenterX">ProjectionCenterX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the X projection center in geographic units. Automatically calculated if omitted.
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_MapViewport_ProjectionCenterY" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.ProjectionCenterY">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.ProjectionCenterY.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_ProjectionCenterY">ProjectionCenterY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Y projection center in geographic units. Automatically calculated if omitted.
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_MapViewport_SimplificationResolution" data-uid="GrapeCity.ActiveReports.PageReportModel.MapViewport.SimplificationResolution">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapViewport.SimplificationResolution.html#GrapeCity_ActiveReports_PageReportModel_MapViewport_SimplificationResolution">SimplificationResolution</a>
        </td>
        <td class="markdown level1 summary"><p>Simplification resolution in map units to be applied to polygon and line layers.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 0 (No simplification).</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>
