DefaultWebOptions.FrameColors Property
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.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property FrameColors As PpFrameColors
Get
Set
'Usage
Dim instance As DefaultWebOptions
Dim value As PpFrameColors
value = instance.FrameColors
instance.FrameColors = value
PpFrameColors FrameColors { get; set; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.PpFrameColors
PpFrameColors
Remarks
The value of the FrameColors property can be one of these PpFrameColors constants.
ppFrameColorsBlackTextOnWhite |
ppFrameColorsBrowserColors |
ppFrameColorsPresentationSchemeAccentColor |
ppFrameColorsPresentationSchemeTextColor |
ppFrameColorsWhiteTextOnBlack |
Examples
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.
With ActivePresentation.WebOptions
.FrameColors= ppFrameColorsWhiteTextOnBlack
.AllowPNG = True
End With