## XPathDocument::CreateNavigator method


Initializes a read-only [XPathNavigator](../../xpathnavigator/) object for navigating through nodes in this [XPathDocument](../).

```cpp
SharedPtr<XPathNavigator> System::Xml::XPath::XPathDocument::CreateNavigator() override
```


### ReturnValue

A read-only [XPathNavigator](../../xpathnavigator/) object.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathNavigator](../../xpathnavigator/)
* Class [XPathDocument](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.PDF for C++](../../../)
