Edit

Share via


Word.Interfaces.ColorFormatLoadOptions interface

Represents the color formatting of a shape or text in Word.

Remarks

[ API set: WordApiDesktop 1.3 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

brightness

Specifies the brightness of a specified shape color. Valid values are from -1 (darkest) to 1 (lightest), 0 represents neutral.

objectThemeColor

Specifies the theme color for a color format.

rgb

Specifies the red-green-blue (RGB) value of the specified color. You can provide the value in the '#RRGGBB' format.

tintAndShade

Specifies the lightening or darkening of a specified shape's color. Valid values are from -1 (darkest) to 1 (lightest), 0 represents neutral.

type

Returns the shape color type.

Property Details

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

$all?: boolean;

Property Value

boolean

brightness

Specifies the brightness of a specified shape color. Valid values are from -1 (darkest) to 1 (lightest), 0 represents neutral.

brightness?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

objectThemeColor

Specifies the theme color for a color format.

objectThemeColor?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

rgb

Specifies the red-green-blue (RGB) value of the specified color. You can provide the value in the '#RRGGBB' format.

rgb?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

tintAndShade

Specifies the lightening or darkening of a specified shape's color. Valid values are from -1 (darkest) to 1 (lightest), 0 represents neutral.

tintAndShade?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

type

Returns the shape color type.

type?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]