Share via


MapPolygon Class

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

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.MapObjectCollectionItem
    Microsoft.ReportingServices.OnDemandReportRendering.MapSpatialElement
      Microsoft.ReportingServices.OnDemandReportRendering.MapPolygon

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class MapPolygon _
    Inherits MapSpatialElement
'Usage
Dim instance As MapPolygon
public sealed class MapPolygon : MapSpatialElement
public ref class MapPolygon sealed : public MapSpatialElement
[<SealedAttribute>]
type MapPolygon =  
    class
        inherit MapSpatialElement
    end
public final class MapPolygon extends MapSpatialElement

The MapPolygon type exposes the following members.

Properties

  Name Description
Public property Instance Gets the report instance object that contains the calculated values of this report definition object.
Public property MapCenterPointTemplate Gets a custom template that will be applied to the map polygon center point.
Public property MapFields Gets a collection of MapField objects to be associated with the spatial element. (Inherited from MapSpatialElement.)
Public property MapPolygonTemplate Gets a custom template that will be applied to the map polygon.
Public property UseCustomCenterPointTemplate Indicates whether the MapCenterPointTemplate property will be applied to the map polygon center point.
Public property UseCustomPolygonTemplate Indicates whether the MapPolygonTemplate property will be applied to the map polygon.
Public property VectorData Gets the vector data for the spatial element. (Inherited from MapSpatialElement.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_instance Infrastructure. (Inherited from MapObjectCollectionItem.)
Protected field m_map Infrastructure. (Inherited from MapSpatialElement.)
Protected field m_mapVectorLayer Infrastructure. (Inherited from MapSpatialElement.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IMapObjectCollectionItem.SetNewContext (Inherited from MapObjectCollectionItem.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.