ColorFormat Interface

Represents the color of a one-color object, the foreground or background color of an object with a gradient or patterned fill, or the pointer color. You can set colors to an explicit red-green-blue value (by using the RGB property) or to a color in the color scheme (by using the SchemeColor property).

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("91493452-5A91-11CF-8700-00AA0060263B")> _
Public Interface ColorFormat
'Usage
Dim instance As ColorFormat
[GuidAttribute("91493452-5A91-11CF-8700-00AA0060263B")]
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

DimColor

AnimationSettings

Color used for dimmed objects.

BackColor

FillFormat

Background fill color (used in a shaded or patterned fill).

ForeColor

FillFormat

Foreground fill color (the fill color for a solid fill).

Color

Font

Bullet or character color.

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.

PointerColor

SlideShowSettings

Default pointer color for a presentation.

PointerColor

SlideShowView

Temporary pointer color for a view of a slide show.

ExtrusionColor

ThreeDFormat

Color of the sides of an extruded object.

See Also

Reference

ColorFormat Members

Microsoft.Office.Interop.PowerPoint Namespace