ColorFormat Interface
Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<GuidAttribute("000209C6-0000-0000-C000-000000000046")> _
Public Interface ColorFormat
'Usage
Dim instance As ColorFormat
[GuidAttribute("000209C6-0000-0000-C000-000000000046")]
public interface ColorFormat
Remarks
Use one of the properties listed in the following table to return a ColorFormat object.
Use this property |
With this object |
To return a ColorFormat object that represents this |
---|---|---|
Background fill color (used in a shaded or patterned fill) |
||
FillFormat |
Foreground fill color (or simply the fill color for a solid fill) |
|
Background line color (used in a patterned line) |
||
LineFormat |
Foreground line color (or just the line color for a solid line) |
|
Shadow color |
||
Color of the sides of an extruded object |
Use the RGB property to set a color to an explicit red-green-blue value.