[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.UserColor

UserColor Class

Represents an extended color.

Inheritance
UserColor
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class UserColor
Public Class UserColor

Constructors

Name Description
UserColor(SolidColor)

Initializes a new instance of the UserColor class.

UserColor(ThemeColorId)

Initializes a new instance of the UserColor class.

UserColor(ThemeColorId, float)

Initializes a new instance of the UserColor class.

UserColor(ThemeColorId, float, float, float)

Initializes a new instance of the UserColor class.

UserColor(Color)

Initializes a new instance of the UserColor class.

Properties

Name Description
Brightness

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

Color

Gets the RGB value of this color.

ThemeColor

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

TintAndShade

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

Transparency

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