Share via


OptimizeHTMLPublishFlags Property

FpOptimizeHTMLFlags

FpOptimizeHTMLFlags can be one or more of the following FpOptimizeHTMLFlags constants.

fpHtmlOptAuthorComponents Removes Author-Time FrontPage Web component comments.
fpHtmlOptBrowseComponents Removes Browse-Time FrontPage Web component comments.
fpHtmlOptCellFormattingAttr Removes cell formatting attributes.
fpHtmlOptDwtCmnts Removes Dynamic Web Template comments.
fpHtmlOptGenerator Removes META elements that contain Generator and Programatic Identifier information.
fpHtmlOptHTMLAllWhitespace Removes all white spaces that don't affect rendering.
fpHtmlOptHTMLCmnts Removes all HTML comments.
fpHtmlOptHTMLLeadWhitespace Removes leading white spaces from each line.
fpHtmlOptOn Enables optimization.
fpHtmlOptScriptCmnts Removes script comments.
fpHtmlOptThemes Removes theme comments.
fpHtmlOptTrcImageAttr Removes image tracing attributes from the BODY element.
fpHtmlOptVMLGraphics Removes Vector Markup Language (VML) from a page that uses Office drawings and WordArt.
fpHtmlOptWordHTML Removes Word-specific HTML markup.

expression.OptimizeHTMLPublishFlags

*expression   * Required. An expression that returns one a WebEx object.

Remarks

Use fpHTMLOptOn to turn optimization on. Specify additional optimization settings by separating each with a plus sign (+).

Example

The following example turns optimization on for the active Web site and specifies that all Microsoft FrontPage Web component comments are to be removed when publishing the site.

ActiveWeb.OptimizeHTMLPublishFlags = fpHtmlOptOn _
    + fpHtmlOptAuthorComponents + fpHtmlOptBrowseComponents

Applies to | WebEx Object