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)
Usage
Public Class olorFormatImplementation
Implements ColorFormat
End Class
Dim olorFormatImplementation1 As New olorFormatImplementation()
Syntax
Public Interface ColorFormat
public interface ColorFormat
public interface class ColorFormat
public interface ColorFormat
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Word Namespace