to_string method
to_string(save_format)
Exports the content of the node into a string in the specified format.
def to_string(self, save_format: aspose.words.SaveFormat):
...
Parameter | Type | Description |
---|---|---|
save_format | SaveFormat |
Returns
The content of the node in the specified format.
to_string(save_options)
Exports the content of the node into a string using the specified save options.
def to_string(self, save_options: aspose.words.saving.SaveOptions):
...
Parameter | Type | Description |
---|---|---|
save_options | SaveOptions | Specifies the options that control how the node is saved. |
Returns
The content of the node in the specified format.
See Also
- module aspose.words
- class Node