## XpsDocument::InsertPath method


Menyisipkan jalur baru ke halaman aktif pada posisi *index* .

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| indeks | int32_t | Posisi di mana jalur baru harus disisipkan. |
| data | System::SharedPtr\<XpsModel::XpsPathGeometry\> | Geometri jalur. |

### ReturnValue

Jalur yang disisipkan.

## Lihat Juga

* 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++](../../../)
