## XmlTextWriter::get_XmlSpace method


Returns an [XmlSpace](../../xmlspace/) representing the current **xml:space** scope.

```cpp
System::Xml::XmlSpace System::Xml::XmlTextWriter::get_XmlSpace() override
```


### ReturnValue

An [XmlSpace](../../xmlspace/) representing the current **xml:space** scope.

|||
|-|-|
|Value |Meaning |
|None |This is the default if no xml:space scope exists. |
|Default |The current scope is xml:space="default". |
|Preserve |The current scope is xml:space="preserve". |

## See Also

* Enum [XmlSpace](../../xmlspace/)
* Class [XmlTextWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
