Partager via


Application.DefaultWebOptions Property (PowerPoint)

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

Syntax

expression .DefaultWebOptions

expression A variable that represents an Application object.

Return Value

DefaultWebOptions

Example

This example checks to see whether the default document encoding is Western. If it is, the string strDocEncoding is set accordingly.

Set objAppWebOptions = Application.DefaultWebOptions

With objAppWebOptions

    If .Encoding = msoEncodingWestern Then

        strDocEncoding = "Western"

    End If

End With

See Also

Concepts

Application Object

Application Object Members