Click or drag to resize
SaveDocumentAsHTML Method

Save current document as HTML file to web server.

Syntax

[ JavaScript ]

document.getElementById("AceoffixCtrl1").SaveDocumentAsHTML()

Parameters
No parameters.
Return Value
No return value.
Remarks

With this method you will not save as HTML file in your local computer but to the web server.

The HTML file which is saved is in mht format. The mht format is a web archive format. The mht file is a Web page as a single file that includes an .htm file and all supporting files, such as images, cascading style sheets, scripts, and more.

Note Note

This method only applies to Office2003 or a later version.

If you want to save document as HTML file, you must set the Aceoffix.AceoffixCtrl.SaveFilePage property. In SaveFilePage, you can get the mht file which the current document is saved as.

Example
JavaScript
document.getElementById("AceoffixCtrl1").SaveDocumentAsHTML();
See Also