## XpsPathGeometry::InsertSegment method


*index* 위치에서 마지막 경로 도형의 하위 세그먼트 목록에 경로 세그먼트를 삽입합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | 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++](../../../)
