set_geometry_paths method
set_geometry_paths
Updates shape geometry from array of IGeometryPath. Coordinates must be relative to the left
top corner of the shape.
Changes the type of the shape (GeometryShape.shape_type) to ShapeType.CUSTOM.
def set_geometry_paths(self, geometry_paths):
...
| Parameter | Type | Description |
|---|---|---|
| geometry_paths | List[IGeometryPath] | Array geometry paths |
Examples
Example:
Exceptions
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(ArgumentException)) | No path found |
| RuntimeError(Proxy error(ArgumentException)) | Empty path |
See Also
- class
AutoShape - class
IGeometryPath - module
aspose.slides - library
Aspose.Slides