## XmlDocument::get_PreserveWhitespace method


Returns a value indicating whether to preserve white space in element content.

```cpp
bool System::Xml::XmlDocument::get_PreserveWhitespace()
```


### ReturnValue

**true** to preserve white space; otherwise **false**. The default is **false**.

## See Also

* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
