## Range::ToDocument method


Constructs a new fully formed document that contains the range.

```cpp
System::SharedPtr<Aspose::Words::Document> Aspose::Words::Range::ToDocument()
```

## See Also

* Class [Document](../../document/)
* Class [Range](../)
* Namespace [Aspose::Words](../../)
* Library [Aspose.Words for C++](../../../)
