Share via


ColorFormat Object Members

Publisher Developer Reference

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
Aa437585.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.
Aa437585.properties(en-us,office.12).gif BaseCMYK Returns the base cyan-magenta-yellow-black (CMYK) color value of the parent ColorFormat object before any tinting or shading is applied to the color. Read-only.
Aa437585.properties(en-us,office.12).gif BaseRGB Returns or sets an MsoRGBType constant that represents the original RGB color format before color-changing properties, such as tinting and shading, are applied. Read/write.
Aa437585.properties(en-us,office.12).gif CMYK Returns a ColorCMYK object that represents CMYK color properties.
Aa437585.properties(en-us,office.12).gif Ink Returns or sets a Long indicating whether the specified color is a spot color, and if so, the spot plate to which it belongs. Valid values are pbInkNone (default; meaning that the color is not a spot color) or a number between 1 and n where n is the number of spot plates. Read/write.
Aa437585.properties(en-us,office.12).gif Parent Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only.
Aa437585.properties(en-us,office.12).gif RGB Returns or sets an MsoRGBType that represents the red-green-blue (RGB) value of the specified color. Read/write.
Aa437585.properties(en-us,office.12).gif SchemeColor Returns or sets a PbSchemeColorIndex constant that represents the specified color of the current color scheme. Read/write.
Aa437585.properties(en-us,office.12).gif TintAndShade Returns or sets a Single that represents the lightening or darkening of a specified shape's color. Read/write.
Aa437585.properties(en-us,office.12).gif Transparency Returns or sets a Single indicating the degree of transparency of the specified fill, shadow, or line as a value between 0.0 (opaque) and 1.0 (clear). Read/write.
Aa437585.properties(en-us,office.12).gif Type Returns or sets a PbColorType constant that represents the shape color type. Read-only.