Aspose::Page::XPS::XpsModel::XpsPathGeometry::InsertSegment method

XpsPathGeometry::InsertSegment method

Inserts a path segment to the list of child segments of the last path figure at index position.

System::SharedPtr<XpsPathSegment> Aspose::Page::XPS::XpsModel::XpsPathGeometry::InsertSegment(int32_t index, System::SharedPtr<XpsPathSegment> segment)
ParameterTypeDescription
indexint32_tPosition at which a segment should be inserted.
segmentSystem::SharedPtr<XpsPathSegment>A path segment to be inserted.

ReturnValue

Inserted path segment.

See Also