Application.WebOptions Property

PowerPoint Developer Reference

Returns the WebOptions object, which contains presentation-level attributes used by Microsoft Office PowerPoint when you save or publish a complete or partial presentation as a Web page or open a Web page. Read-only.

Syntax

expression.WebOptions

expression   A variable that represents a Application object.

Return Value
WebOptions

Example

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

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

See Also