Share via


MapPolygon Class

Definition

Represents a polygon-based spatial element (for example, a continent, a country, or a state) to be embedded in a map polygon layer.

public ref class MapPolygon sealed : Microsoft::ReportingServices::OnDemandReportRendering::MapSpatialElement
public sealed class MapPolygon : Microsoft.ReportingServices.OnDemandReportRendering.MapSpatialElement
type MapPolygon = class
    inherit MapSpatialElement
Public NotInheritable Class MapPolygon
Inherits MapSpatialElement
Inheritance

Fields

m_instance

The report instance object.

(Inherited from MapObjectCollectionItem)
m_map

Specifies the map to which this spatial element applies.

(Inherited from MapSpatialElement)
m_mapVectorLayer

Specifies the vector-based map layer to which this spatial element applies.

(Inherited from MapSpatialElement)

Properties

Instance

Gets the report instance object that contains the calculated values of this report definition object.

MapCenterPointTemplate

Gets a custom template that will be applied to the map polygon center point.

MapFields

Gets a collection of MapField objects to be associated with the spatial element.

(Inherited from MapSpatialElement)
MapPolygonTemplate

Gets a custom template that will be applied to the map polygon.

UseCustomCenterPointTemplate

Indicates whether the MapCenterPointTemplate property will be applied to the map polygon center point.

UseCustomPolygonTemplate

Indicates whether the MapPolygonTemplate property will be applied to the map polygon.

VectorData

Gets the vector data for the spatial element.

(Inherited from MapSpatialElement)

Explicit Interface Implementations

IMapObjectCollectionItem.SetNewContext()

Sets a new context for the collection.

(Inherited from MapObjectCollectionItem)

Applies to