HTMLDocumentSave Method (String, HTMLSaveOptions)
Saves the document to local file specified by path. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + "_files".

Namespace: Aspose.Html
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax
public void Save(
	string path,
	HTMLSaveOptions saveOptions
)

Parameters

path
Type: SystemString
Local path to output file.
saveOptions
Type: Aspose.Html.SavingHTMLSaveOptions
HTML save options.
Exceptions
ExceptionCondition
ArgumentExceptionRaised if the specified path is not a valid local file path.
See Also