Bewerken

Delen via


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
type ColorFormat = interface
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

Returns a Application object that represents the Microsoft Word application.

Black

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

Brightness

Gets the brightness of a specified shape color.

Creator

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

Cyan

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

Ink[Int32]

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

Magenta

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

Name

Returns or sets the name of the specified object.

ObjectThemeColor

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

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

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

RGB

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

SchemeColor

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

TintAndShade

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

Type

Returns the shape color type.

Yellow

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

Methods

SetCMYK(Int32, Int32, Int32, Int32)

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

Applies to