Share via


DefaultWebOptions.HTMLVersion Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property HTMLVersion As PpHTMLVersion
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As PpHTMLVersion

value = instance.HTMLVersion

instance.HTMLVersion = value
PpHTMLVersion HTMLVersion { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpHTMLVersion
PpHTMLVersion

Remarks

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

ppHTMLAutodetect

ppHTMLDual

ppHTMLv3

ppHTMLv4

Examples

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

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace