ApplyThemedStyle(ThemedLineStyle) Method
Applies a predefined
ThemedLineStyle to this shape.
Note that ThemedLineStyles cannot be applied to non-line geometries (see Extensions.IsLineGeometry). 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.
'Declaration
Public Overloads Function ApplyThemedStyle( _
ByVal As ThemedLineStyle _
) As System.Boolean
public System.bool ApplyThemedStyle(
ThemedLineStyle
)
Parameters
- themedStyle
- The style to apply.
Return Value
True if the style was applied, false otherwise (if this shape is not a line geometry).