[]
Applies a predefined ThemedShapeStyle to this shape.
Note that ThemedShapeStyles cannot be applied to line geometries (see IsLineGeometry(GeometryType)). If GeometryType of this shape is a line geometry, this method will do nothing and return false. For line geometries use ApplyThemedStyle(ThemedLineStyle) instead.
public bool ApplyThemedStyle(ThemedShapeStyle themedStyle)
| Type | Name | Description |
|---|---|---|
| ThemedShapeStyle | themedStyle | The style to apply. |
| Type | Description |
|---|---|
| bool | True if the style was applied, false otherwise (if this shape is a line geometry). |
Applies a predefined ThemedLineStyle to this shape.
Note that ThemedLineStyles cannot be applied to non-line geometries (see IsLineGeometry(GeometryType)). If GeometryType of this shape is not a line geometry, this method will do nothing and return false. For line geometries use ApplyThemedStyle(ThemedShapeStyle) instead.
public bool ApplyThemedStyle(ThemedLineStyle themedStyle)
| Type | Name | Description |
|---|---|---|
| ThemedLineStyle | themedStyle | The style to apply. |
| Type | Description |
|---|---|
| bool | True if the style was applied, false otherwise (if this shape is not a line geometry). |