ColorFormat ColorFormat ColorFormat Interface

Definition

Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill.

public interface class ColorFormat
[System.Runtime.InteropServices.Guid("000209C6-0000-0000-C000-000000000046")]
public interface ColorFormat
Public Interface ColorFormat
Attributes

Remarks

Use one of the properties listed in the following table to return a ColorFormat object.

BackColor FillFormat Background fill color (used in a shaded or patterned fill)
ForeColor FillFormat Foreground fill color (or simply the fill color for a solid fill)
BackColor LineFormat Background line color (used in a patterned line)
ForeColor LineFormat Foreground line color (or just the line color for a solid line)
ForeColor ShadowFormat Shadow color
ExtrusionColor ThreeDFormat Color of the sides of an extruded object

Use the RGB property to set a color to an explicit red-green-blue value.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Black Black Black

Returns or sets a value that represents the black component of a CMYK color.

Brightness Brightness Brightness

Gets the brightness of a specified shape color.

Creator Creator Creator

Returns a value that indicates the application in which the specified object was created.

Cyan Cyan Cyan

Returns or sets a value that represents the cyan component of a CMYK color.

Ink[Int32] Ink[Int32] Ink[Int32]

Returns or sets a value that represents the degree of saturation for a specified ink.

Magenta Magenta Magenta

Returns or sets a value that represents the magenta component of a CMYK color.

Name Name Name

Returns or sets the name of the specified object.

ObjectThemeColor ObjectThemeColor ObjectThemeColor

Returns or sets the theme color for a color format. Read/write.

OverPrint OverPrint OverPrint

Returns or sets a value that indicates when creating separation plates for commercial printing, the specified shape is not printed on the separation plates where the ink level of the shape is set to 0 (zero).

Parent Parent Parent

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

RGB RGB RGB

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

SchemeColor SchemeColor SchemeColor

Returns or sets a value that represents the color in the applied color scheme that's associated with the specified object.

TintAndShade TintAndShade TintAndShade

Returns or sets a value that represents the lightening or darkening of a specified shape's color.

Type Type Type

Returns the shape color type.

Yellow Yellow Yellow

Returns or sets a value that represents the yellow component of a CMYK color.

Methods

SetCMYK(Int32, Int32, Int32, Int32) SetCMYK(Int32, Int32, Int32, Int32) SetCMYK(Int32, Int32, Int32, Int32)

Sets a cyan-magenta-yellow-black (CMYK) color value.

Applies to