Partager via


DefaultWebOptions.HTMLVersion Property (PowerPoint)

Returns or sets the global default version of HTML for published presentations. Read/write.

Syntax

expression .HTMLVersion

expression A variable that represents a DefaultWebOptions object.

Return Value

PpHTMLVersion

Remarks

You can override the global setting for an individual presentation by setting the WebOptions.HTMLVersion property for that presentation.

The value returned by the HTMLVersion property can be one of these PpHTMLVersion constants. The default is ppHTMLv4.

ppHTMLAutodetect

ppHTMLDual

ppHTMLv3

ppHTMLv4

Example

This example specifies that, by default, PowerPoint automatically detects the version of HTML for published presentations.

Application.DefaultWebOptions.HTMLVersion = ppHTMLAutodetect

See Also

Concepts

DefaultWebOptions Object

DefaultWebOptions Object Members