返回或设置大纲窗格中的文本颜色和大纲及 Web 演示文稿中幻灯片窗格的背景色。可读写。PpFrameColors 类型。
PpFrameColors 可以是下列 PpFrameColors 类型常数之一。 |
ppFrameColorsBlackTextOnWhite |
ppFrameColorsBrowserColors |
ppFrameColorsPresentationSchemeAccentColor |
ppFrameColorsPresentationSchemeTextColor |
ppFrameColorsWhiteTextOnBlack |
expression.FrameColors
expression 必选。该表达式返回“应用于”列表中的对象之一。
本示例用于当以 Web 页保存或发布活动演示文稿时,将大纲窗格的文字颜色设置为白色,将大纲窗格和幻灯片窗格的背景色设置为黑色,并允许可移植网络图形 (PNG) 作为图像格式使用。
With ActivePresentation.WebOptions
.FrameColors = ppFrameColorsWhiteTextOnBlack
.AllowPNG = True
End With