Saves the content of an
htmlDocument variable to an HTML file.
// Load the document
d is htmlDocument = HTMLOpen("..\Templates\Template1.html", fromFile)
// Document modifications
// ...
// Save modified document
HTMLSave(d, "..\Generation\" + DocumentName)
Syntax
HTMLSave(<Document> [, <File name>])
<Document>: htmlDocument variable
Name of the htmlDocument variable that corresponds to the document to handle.
<File name>: Optional character string
Name of the file to be saved. If the file name is not specified and the document was opened from a file, the original file is overwritten.
Business / UI classification: Business Logic