## PageAPI::Insert method


Inserta un elemento (Canvas, Path, o Glyphs) en la página en la posición *index*.

```cpp
template<typename T> T Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::Insert(int32_t index, T element)
```


| Parámetro | Descripción |
| --- | --- |
| T | El tipo del elemento. |

| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| índice | int32_t | Posición en la que un *elemento* debe insertarse. |
| elemento | T | Elemento a insertar. |

### ReturnValue

Elemento insertado.

## Ver también

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