## ShapeSegmentPathCollection::Add method


Add a segment path in creation path.

```cpp
int32_t Aspose::Cells::Drawing::ShapeSegmentPathCollection::Add(ShapePathType type)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | ShapePathType | The path type. |

## ReturnValue

Returns the position of [ShapeSegmentPath](../../shapesegmentpath/) object in the list.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [ShapePathType](../../shapepathtype/)
* Class [ShapeSegmentPathCollection](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
