## XpsDocument::InsertPath method


يدرج مسارًا جديدًا إلى الصفحة النشطة في موضع *index* .

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| الفهرس | int32_t | الموضع الذي يجب إدراج مسار جديد فيه. |
| بيانات | System::SharedPtr\<XpsModel::XpsPathGeometry\> | هندسة المسار. |

### ReturnValue

المسار المُدرج.

## انظر أيضًا

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