Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Shape Class / ApplyThemedStyle Method

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

    Overload List
    OverloadDescription
    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.

     
    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.

     
    See Also