Partager via


Presentation.WebOptions Property (PowerPoint)

Returns the WebOptions object, which contains presentation-level attributes used by Microsoft 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.

With ActivePresentation.WebOptions

    .FrameColors = ppFrameColorsWhiteTextOnBlack

    .AllowPNG = True

End With

See Also

Concepts

Presentation Object Members

Presentation Object