## XpsDocument::InsertPath method


Inserta un nuevo Path en la página activa en la posición *index*.

```cpp
System::SharedPtr<XpsModel::XpsPath> Aspose::Page::XPS::XpsDocument::InsertPath(int32_t index, System::SharedPtr<XpsModel::XpsPathGeometry> data)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| índice | int32_t | Posición en la que se debe insertar una nueva ruta. |
| datos | System::SharedPtr\<XpsModel::XpsPathGeometry\> | La geometría de la ruta. |

### ReturnValue

Ruta insertada.

## Ver también

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