[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.SolidColor

SolidColor Class

Represents a solid color formatting.

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

Properties

Name Description
Brightness

Gets or sets the brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral.

Default value is 0.

RGB

Gets or sets the RGB value of this color.

Only solid colors (with alpha 255) are supported.

Resets Brightness and TintAndShade properties to default values.

ThemeColor

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

TintAndShade

Gets or sets the lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral.

Default value is 0.

Transparency

Gets or sets the degree of transparency of the color as a value between 0 (opaque) and 1 (clear).

Methods

Name Description
Equals(SolidColor)
Equals(object)
FixInheritedValues()

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

GetHashCode()