## XpsDocument::RemovePageAt method


Removes a page from the document at *index*  position.

```cpp
System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::RemovePageAt(int32_t index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int32_t | Position at which a page should be removed. |

### ReturnValue

Removed page.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPage](../../../aspose.page.xps.xpsmodel/xpspage/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
