ColorFormat interface
Office 2013 and later
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)
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.
Show: