## XmlWriter::get_XmlSpace method


When overridden in a derived class, gets an [XmlSpace](../../xmlspace/) representing the current **xml:space** scope.

```cpp
virtual System::Xml::XmlSpace System::Xml::XmlWriter::get_XmlSpace()
```


### 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 [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
