## XpsDocument::Remove method


Removes an element from the active page.

```cpp
template<typename T> T Aspose::Page::XPS::XpsDocument::Remove(T element)
```


| Parameter | Description |
| --- | --- |
| T | The type of the element. |

| Parameter | Type | Description |
| --- | --- | --- |
| element | T | Element to be removed. |

### ReturnValue

Removed element.

## See Also

* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
