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)
| Parameter | Type | Description |
|---|---|---|
| url | Url | Local URL to output file. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class Url
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(ResourceHandler)
Saves the document content and resources using the ResourceHandler.
public void Save(ResourceHandler resourceHandler)
| Parameter | Type | Description |
|---|---|---|
| resourceHandler | ResourceHandler | The resource handler ResourceHandler. |
See Also
- class ResourceHandler
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
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)
| Parameter | Type | Description |
|---|---|---|
| path | String | Local path to output file. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
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)
| Parameter | Type | Description |
|---|---|---|
| path | String | Local path to output file. |
| saveFormat | HTMLSaveFormat | Format in which document is saved. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- enum HTMLSaveFormat
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(Url, HTMLSaveFormat)
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)
| Parameter | Type | Description |
|---|---|---|
| url | Url | Local URL to output file. |
| saveFormat | HTMLSaveFormat | Format in which document is saved. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class Url
- enum HTMLSaveFormat
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(ResourceHandler, HTMLSaveFormat)
Saves the document content and resources using the ResourceHandler.
public void Save(ResourceHandler resourceHandler, HTMLSaveFormat saveFormat)
| Parameter | Type | Description |
|---|---|---|
| resourceHandler | ResourceHandler | The resource handler ResourceHandler. |
| saveFormat | HTMLSaveFormat | Format in which document is saved. |
See Also
- class ResourceHandler
- enum HTMLSaveFormat
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
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)
| Parameter | Type | Description |
|---|---|---|
| path | String | Local path to output file. |
| saveOptions | HTMLSaveOptions | HTML save options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class HTMLSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(Url, HTMLSaveOptions)
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)
| Parameter | Type | Description |
|---|---|---|
| url | Url | Local URL to output file. |
| saveOptions | HTMLSaveOptions | HTML save options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class Url
- class HTMLSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(ResourceHandler, HTMLSaveOptions)
Saves the document content and resources using the ResourceHandler.
public void Save(ResourceHandler resourceHandler, HTMLSaveOptions saveOptions)
| Parameter | Type | Description |
|---|---|---|
| resourceHandler | ResourceHandler | The resource handler ResourceHandler. |
| saveOptions | HTMLSaveOptions | HTML save options. |
See Also
- class ResourceHandler
- class HTMLSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
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)
| Parameter | Type | Description |
|---|---|---|
| path | String | Local path to output file. |
| saveOptions | MarkdownSaveOptions | Markdown save options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class MarkdownSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(Url, MarkdownSaveOptions)
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)
| Parameter | Type | Description |
|---|---|---|
| url | Url | Local URL to output file. |
| saveOptions | MarkdownSaveOptions | Markdown save options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class Url
- class MarkdownSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(ResourceHandler, MarkdownSaveOptions)
Saves the document content and resources using the ResourceHandler.
public void Save(ResourceHandler resourceHandler, MarkdownSaveOptions saveOptions)
| Parameter | Type | Description |
|---|---|---|
| resourceHandler | ResourceHandler | The resource handler ResourceHandler. |
| saveOptions | MarkdownSaveOptions | Markdown save options. |
See Also
- class ResourceHandler
- class MarkdownSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
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)
| Parameter | Type | Description |
|---|---|---|
| path | String | Local path to output file. |
| saveOptions | MHTMLSaveOptions | MHTML save options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class MHTMLSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(Url, MHTMLSaveOptions)
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)
| Parameter | Type | Description |
|---|---|---|
| url | Url | Local URL to output file. |
| saveOptions | MHTMLSaveOptions | MHTML save options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Raised 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
- class Url
- class MHTMLSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML
Save(ResourceHandler, MHTMLSaveOptions)
Saves the document content and resources using the ResourceHandler.
public void Save(ResourceHandler resourceHandler, MHTMLSaveOptions saveOptions)
| Parameter | Type | Description |
|---|---|---|
| resourceHandler | ResourceHandler | The resource handler ResourceHandler. |
| saveOptions | MHTMLSaveOptions | MHTML save options. |
See Also
- class ResourceHandler
- class MHTMLSaveOptions
- class HTMLDocument
- namespace Aspose.Html
- assembly Aspose.HTML