ApplyThemedStyle(ThemedShapeStyle) Method
Applies a predefined
ThemedShapeStyle to this shape.
Note that ThemedShapeStyles cannot be applied to line geometries (see Extensions.IsLineGeometry). If GeometryType of this shape is a line geometry, this method will do nothing and return false. For line geometries use ApplyThemedStyle(ThemedLineStyle) instead.
'Declaration
Public Overloads Function ApplyThemedStyle( _
ByVal As ThemedShapeStyle _
) As System.Boolean
public System.bool ApplyThemedStyle(
ThemedShapeStyle
)
Parameters
- themedStyle
- The style to apply.
Return Value
True if the style was applied, false otherwise (if this shape is a line geometry).