Partager via


WebOptions.HTMLVersion Property (PowerPoint)

Returns or sets the version of HTML for a published presentation. Read/write.

Syntax

expression .HTMLVersion

expression A variable that represents a WebOptions object.

Return Value

PpHTMLVersion

Remarks

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 publishes slides three through five of the active presentation in HTML version 3.0. It names the published presentation Mallard.htm.

With ActivePresentation.PublishObjects(1)

    .FileName = "C:\Test\Mallard.htm"

    .SourceType = ppPublishSlideRange

    .RangeStart = 3

    .RangeEnd = 5

    .HTMLVersion = ppHTMLv3

    .Publish

End With

See Also

Concepts

WebOptions Object

WebOptions Object Members