save method
save
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”.
Parameter | Type | Description |
---|
url | Url | Local URL to output file. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified url is not a valid local file URL. |
save
Saves the document content and resources using the ResourceHandler
.
def save(self, resource_handler):
...
Parameter | Type | Description |
---|
resource_handler | aspose.html.saving.resourcehandlers.ResourceHandler | The resource handler ResourceHandler . |
save
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”.
def save(self, path):
...
Parameter | Type | Description |
---|
path | str | Local path to output file. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
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”.
def save(self, path, save_format):
...
Parameter | Type | Description |
---|
path | str | Local path to output file. |
save_format | aspose.html.saving.HTMLSaveFormat | Format in which document is saved. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
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”.
def save(self, url, save_format):
...
Parameter | Type | Description |
---|
url | Url | Local URL to output file. |
save_format | aspose.html.saving.HTMLSaveFormat | Format in which document is saved. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified url is not a valid local file URL. |
Saves the document content and resources using the ResourceHandler
.
def save(self, resource_handler, save_format):
...
Parameter | Type | Description |
---|
resource_handler | aspose.html.saving.resourcehandlers.ResourceHandler | The resource handler ResourceHandler . |
save_format | aspose.html.saving.HTMLSaveFormat | Format in which document is saved. |
save
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”.
def save(self, path, save_options):
...
Parameter | Type | Description |
---|
path | str | Local path to output file. |
save_options | aspose.html.saving.HTMLSaveOptions | HTML save options. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
save
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”.
def save(self, url, save_options):
...
Parameter | Type | Description |
---|
url | Url | Local URL to output file. |
save_options | aspose.html.saving.HTMLSaveOptions | HTML save options. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified url is not a valid local file URL. |
save
Saves the document content and resources using the ResourceHandler
.
def save(self, resource_handler, save_options):
...
Parameter | Type | Description |
---|
resource_handler | aspose.html.saving.resourcehandlers.ResourceHandler | The resource handler ResourceHandler . |
save_options | aspose.html.saving.HTMLSaveOptions | HTML save options. |
save
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”.
def save(self, path, save_options):
...
Parameter | Type | Description |
---|
path | str | Local path to output file. |
save_options | aspose.html.saving.MarkdownSaveOptions | Markdown save options. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
save
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”.
def save(self, url, save_options):
...
Parameter | Type | Description |
---|
url | Url | Local URL to output file. |
save_options | aspose.html.saving.MarkdownSaveOptions | Markdown save options. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified url is not a valid local file URL. |
save
Saves the document content and resources using the ResourceHandler
.
def save(self, resource_handler, save_options):
...
Parameter | Type | Description |
---|
resource_handler | aspose.html.saving.resourcehandlers.ResourceHandler | The resource handler ResourceHandler . |
save_options | aspose.html.saving.MarkdownSaveOptions | Markdown save options. |
save
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”.
def save(self, path, save_options):
...
Parameter | Type | Description |
---|
path | str | Local path to output file. |
save_options | aspose.html.saving.MHTMLSaveOptions | MHTML save options. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified path is not a valid local file path. |
save
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”.
def save(self, url, save_options):
...
Parameter | Type | Description |
---|
url | Url | Local URL to output file. |
save_options | aspose.html.saving.MHTMLSaveOptions | MHTML save options. |
Exceptions
Exception | Description |
---|
ArgumentException | Raised if the specified url is not a valid local file URL. |
save
Saves the document content and resources using the ResourceHandler
.
def save(self, resource_handler, save_options):
...
Parameter | Type | Description |
---|
resource_handler | aspose.html.saving.resourcehandlers.ResourceHandler | The resource handler ResourceHandler . |
save_options | aspose.html.saving.MHTMLSaveOptions | MHTML save options. |
See Also