Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Shape Class / ApplyThemedStyle Method / ApplyThemedStyle(ThemedLineStyle) Method
The style to apply.

In This Topic
    ApplyThemedStyle(ThemedLineStyle) Method
    In This Topic
    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.

    Syntax
    'Declaration
     
    Public Overloads Function ApplyThemedStyle( _
       ByVal themedStyle As ThemedLineStyle _
    ) As System.Boolean
    public System.bool ApplyThemedStyle( 
       ThemedLineStyle themedStyle
    )

    Parameters

    themedStyle
    The style to apply.

    Return Value

    True if the style was applied, false otherwise (if this shape is not a line geometry).
    See Also