[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.WordColor

WordColor Class

Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill. You can set colors to an explicit red-green-blue value by using the RGB property.

Inheritance
WordColor
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class WordColor : FormattingBag
Public Class WordColor
    Inherits FormattingBag

Properties

Name Description
RGB

Gets or sets the RGB color value. The Empty value indicates auto color. Only solid colors (with alpha 255) are supported.

If this property is set to a value other than Empty, ThemeColor, ThemeShade and ThemeTint property values are removed.

ThemeColor

Gets or sets a theme color that should be applied to the current object.

ThemeShade

Gets or sets the shade value applied to the supplied theme color (if any) for this contents.

ThemeTint

Gets or sets the tint value applied to the supplied theme color (if any) for this contents.

Methods

Name Description
ClearFormatting()

Resets to default color formatting.

Equals(WordColor)
Equals(object)
FixInheritedValues()

Fixes all inherited values as "direct" values for this instance.

GetHashCode()