
## to_string(save_format) {#saveformat}

Exports the content of the node into a string in the specified format.


```python
def to_string(self, save_format: aspose.words.SaveFormat):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| save_format | [SaveFormat](../../saveformat/) |  |

### Returns

The content of the node in the specified format.


## to_string(save_options) {#saveoptions}

Exports the content of the node into a string using the specified save options.


```python
def to_string(self, save_options: aspose.words.saving.SaveOptions):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| save_options | [SaveOptions](../../../aspose.words.saving/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](../)

