## XpsPathGeometry::InsertSegment method


يدرج مقطع مسار إلى قائمة المقاطع الفرعية للشكل الأخير في موضع *index*.

```cpp
System::SharedPtr<XpsPathSegment> Aspose::Page::XPS::XpsModel::XpsPathGeometry::InsertSegment(int32_t index, System::SharedPtr<XpsPathSegment> segment)
```


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

### ReturnValue

تم إدراج مقطع المسار.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPathSegment](../../xpspathsegment/)
* Class [XpsPathGeometry](../)
* Namespace [Aspose::Page::XPS::XpsModel](../../)
* Library [Aspose.Page for C++](../../../)
