[]
Defines a template to be applied to polygons within a polygon layer.
public sealed class MapPolygonTemplate : MapSpatialElementTemplate, ICloneable
Name | Description |
---|---|
MapPolygonTemplate() | Initializes a new instance of the MapPolygonTemplate class. |
Name | Description |
---|---|
CenterPointOffsetX | Gets or sets the X offset for the polygon center point in geographic units. An expression should evaluate to a double. |
CenterPointOffsetY | Gets or sets the Y offset for the polygon center point in geographic units. An expression should evaluate to a double. |
LabelPlacement | Gets or sets the label placement of the polygon. That evaluates to one of MapPolygonTemplate.PolygonLabelPlacement. The default value is MiddleCenter. |
ScaleFactor | Gets or sets the factor by which the polygon will be scaled. An expression should evaluate to a double. The default value is 1. |
ShowLabel | Gets or sets if the label should be shown. That evaluates to one of Auto, True, False The default value is Auto. |
Name | Description |
---|---|
Clone() | Creates a new object that is a copy of the current instance. |