## File::AppendText method


Creates a [StreamWriter](../../streamwriter/) object that appends text to the specified file using UTF-8 encoding. If the specified file does not exist, it is created.

```cpp
static StreamWriterPtr System::IO::File::AppendText(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | The path of the file to open or create |

### ReturnValue

A shared pointer to the created [StreamWriter](../../streamwriter/) object associated with the specified file

## See Also

* Typedef [StreamWriterPtr](../../../system/streamwriterptr/)
* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
