Word.Interfaces.ColorFormatLoadOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents the color formatting of a shape or text in Word.
Remarks
Properties
$all | Specifying |
brightness | Specifies the brightness of a specified shape color. Valid values are from |
object |
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. |
tint |
Specifies the lightening or darkening of a specified shape's color. Valid values are from |
type | Returns the shape color type. |
Property Details
$all
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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
objectThemeColor
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the theme color for a color format.
objectThemeColor?: boolean;
Property Value
boolean
Remarks
rgb
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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
tintAndShade
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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
type
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the shape color type.
type?: boolean;
Property Value
boolean