HTMLDocument.Save

Save(Url)

Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.

public void Save(Url url)
ParameterTypeDescription
urlUrlLocal URL to output file.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified url is not a valid local file URL.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(ResourceHandler)

Saves the document content and resources using the ResourceHandler.

public void Save(ResourceHandler resourceHandler)
ParameterTypeDescription
resourceHandlerResourceHandlerThe resource handler ResourceHandler.

See Also


Save(string)

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”.

public void Save(string path)
ParameterTypeDescription
pathStringLocal path to output file.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified path is not a valid local file path.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(string, HTMLSaveFormat)

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”.

public void Save(string path, HTMLSaveFormat saveFormat)
ParameterTypeDescription
pathStringLocal path to output file.
saveFormatHTMLSaveFormatFormat in which document is saved.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified path is not a valid local file path.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(UrlHTMLSaveFormat)

Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.

public void Save(Url url, HTMLSaveFormat saveFormat)
ParameterTypeDescription
urlUrlLocal URL to output file.
saveFormatHTMLSaveFormatFormat in which document is saved.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified url is not a valid local file URL.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(ResourceHandlerHTMLSaveFormat)

Saves the document content and resources using the ResourceHandler.

public void Save(ResourceHandler resourceHandler, HTMLSaveFormat saveFormat)
ParameterTypeDescription
resourceHandlerResourceHandlerThe resource handler ResourceHandler.
saveFormatHTMLSaveFormatFormat in which document is saved.

See Also


Save(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”.

public void Save(string path, HTMLSaveOptions saveOptions)
ParameterTypeDescription
pathStringLocal path to output file.
saveOptionsHTMLSaveOptionsHTML save options.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified path is not a valid local file path.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(UrlHTMLSaveOptions)

Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.

public void Save(Url url, HTMLSaveOptions saveOptions)
ParameterTypeDescription
urlUrlLocal URL to output file.
saveOptionsHTMLSaveOptionsHTML save options.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified url is not a valid local file URL.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(ResourceHandlerHTMLSaveOptions)

Saves the document content and resources using the ResourceHandler.

public void Save(ResourceHandler resourceHandler, HTMLSaveOptions saveOptions)
ParameterTypeDescription
resourceHandlerResourceHandlerThe resource handler ResourceHandler.
saveOptionsHTMLSaveOptionsHTML save options.

See Also


Save(string, MarkdownSaveOptions)

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”.

public void Save(string path, MarkdownSaveOptions saveOptions)
ParameterTypeDescription
pathStringLocal path to output file.
saveOptionsMarkdownSaveOptionsMarkdown save options.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified path is not a valid local file path.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(UrlMarkdownSaveOptions)

Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.

public void Save(Url url, MarkdownSaveOptions saveOptions)
ParameterTypeDescription
urlUrlLocal URL to output file.
saveOptionsMarkdownSaveOptionsMarkdown save options.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified url is not a valid local file URL.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(ResourceHandlerMarkdownSaveOptions)

Saves the document content and resources using the ResourceHandler.

public void Save(ResourceHandler resourceHandler, MarkdownSaveOptions saveOptions)
ParameterTypeDescription
resourceHandlerResourceHandlerThe resource handler ResourceHandler.
saveOptionsMarkdownSaveOptionsMarkdown save options.

See Also


Save(string, MHTMLSaveOptions)

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”.

public void Save(string path, MHTMLSaveOptions saveOptions)
ParameterTypeDescription
pathStringLocal path to output file.
saveOptionsMHTMLSaveOptionsMHTML save options.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified path is not a valid local file path.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(UrlMHTMLSaveOptions)

Saves the document to local file specified by url. All resources used in this document will be saved in to adjacent folder, whose name will be constructed as: output_file_name + “_files”.

public void Save(Url url, MHTMLSaveOptions saveOptions)
ParameterTypeDescription
urlUrlLocal URL to output file.
saveOptionsMHTMLSaveOptionsMHTML save options.

Exceptions

exceptioncondition
ArgumentExceptionRaised if the specified url is not a valid local file URL.

Remarks

Save HTML

Most of the tasks, you need to perform, require saving a document. Once you load the existing file or create an HTML document from scratch, you can save your changes using one of HTMLDocument.Save() methods. The methods allow saving HTML to a local file specified by path, URL, or output storage. Refer to the documentation to learn more about saving.

See Also


Save(ResourceHandlerMHTMLSaveOptions)

Saves the document content and resources using the ResourceHandler.

public void Save(ResourceHandler resourceHandler, MHTMLSaveOptions saveOptions)
ParameterTypeDescription
resourceHandlerResourceHandlerThe resource handler ResourceHandler.
saveOptionsMHTMLSaveOptionsMHTML save options.

See Also