## XmlWriterSettings::set_Encoding method


Sets the type of text encoding to use.

```cpp
void System::Xml::XmlWriterSettings::set_Encoding(const SharedPtr<System::Text::Encoding> &value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const SharedPtr\<System::Text::Encoding\>\& | The value to set. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Encoding](../../../system.text/encoding/)
* Class [XmlWriterSettings](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
