Partager via


ColorFormat Members (Word)

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.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Brightness

Returns a Single that represents the brightness of a specified shape color. Read/write.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

ObjectThemeColor

Returns or sets a WdThemeColorIndex constant that represents the theme color for a color format. Read/write.

Parent

Returns an Object that represents the parent object of the specified ColorFormat object.

RGB

Returns or sets the red-green-blue (RGB) value of the specified color. Read/write Long.

TintAndShade

Returns a Single that represents the lightening or darkening of a specified shape's color. Read/write.

Type

Returns or sets the shape color type. Read-only MsoColorType.