Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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()

public interface ColorFormat
public interface ColorFormat
public interface ColorFormat

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

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.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

Show:
© 2015 Microsoft