## PageAPI::InsertPath method


Infogar en ny sökväg på sidan på *index*  position.

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


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| index | int32_t | Position där en ny bana ska infogas. |
| data | System::SharedPtr\<XpsModel::XpsPathGeometry\> | Geometrin för banan. |

### ReturnValue

Infogad bana.

## Se även

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