Share via


WebOptions.FrameColors Property

PowerPoint Developer Reference

Returns or sets the text color for the outline pane and the background color for the outline and slide panes for Web presentations. Read/write.

Syntax

expression.FrameColors

expression   A variable that represents a WebOptions object.

Return Value
PpFrameColors

Remarks

The value of the FrameColors property can be one of these PpFrameColors constants.

ppFrameColorsBlackTextOnWhite
ppFrameColorsBrowserColors
ppFrameColorsPresentationSchemeAccentColor
ppFrameColorsPresentationSchemeTextColor
ppFrameColorsWhiteTextOnBlack

Example

This example specifies that when saving or publishing the active presentation as a Web page, the text color for the outline pane is white and the background color for the outline and slide panes is black, and Portable Network Graphics (PNG) are allowed as an image format.

Visual Basic for Applications
  With ActivePresentation.WebOptions
    .FrameColors = ppFrameColorsWhiteTextOnBlack
    .AllowPNG = True
End With

See Also