## XmlWriterSettings::get_Encoding method


Returns the type of text encoding to use.

```cpp
SharedPtr<System::Text::Encoding> System::Xml::XmlWriterSettings::get_Encoding()
```


### ReturnValue

The text encoding to use. The default is Encoding::get_UTF8.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Encoding](../../../system.text/encoding/)
* Class [XmlWriterSettings](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
