Class MapPolygon
Represents a polygon-based spatial element (for example, a continent, a country, or a state) to be embedded in a map polygon layer.
Inherited Members
Namespace: BoldReports.RDL.DOM
Assembly: BoldReports.Wpf.dll
Syntax
public class MapPolygon : MapSpatialElement
Constructors
MapPolygon()
Initializes a new instance of the MapPolygon class.
Declaration
public MapPolygon()
MapPolygon(ReportSerializer)
Initializes a new instance of the MapPolygon class with the specified report serializer.
Declaration
public MapPolygon(ReportSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| BoldReports.RDL.DOM.ReportSerializer | serializer | The report serializer. |
Properties
MapMarkerTemplate
Gets or sets the map marker template.
Declaration
public MapMarkerTemplate MapMarkerTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| MapMarkerTemplate |
MapPolygonTemplate
Gets or sets the map polygon template.
Declaration
public MapPolygonTemplate MapPolygonTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| MapPolygonTemplate |
UseCustomCenterPointTemplate
Gets or sets a value indicating whether to use a custom center point template.
Declaration
public bool UseCustomCenterPointTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UseCustomPolygonTemplate
Gets or sets a value indicating whether to use a custom polygon template.
Declaration
public bool UseCustomPolygonTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
ResetUseCustomCenterPointTemplate()
Resets the UseCustomCenterPointTemplate to false.
Declaration
public void ResetUseCustomCenterPointTemplate()
ResetUseCustomPolygonTemplate()
Resets the UseCustomPolygonTemplate to false.
Declaration
public void ResetUseCustomPolygonTemplate()
ShouldSerializeUseCustomCenterPointTemplate()
Determines whether the UseCustomCenterPointTemplate should be serialized.
Declaration
public bool ShouldSerializeUseCustomCenterPointTemplate()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if UseCustomCenterPointTemplate is true; otherwise, false. |
ShouldSerializeUseCustomPolygonTemplate()
Determines whether the UseCustomPolygonTemplate should be serialized.
Declaration
public bool ShouldSerializeUseCustomPolygonTemplate()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if UseCustomPolygonTemplate is true; otherwise, false. |