## XpsArray::Insert method


Inserts a new object into array at specified position.

```cpp
T Aspose::Page::XPS::XpsModel::XpsArray<T>::Insert(int32_t index, T obj)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int32_t | The position to insert an object at. |
| obj | T | The object to insert. |

### ReturnValue

Inserted object.

## See Also

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