set_geometry_path method
set_geometry_path
Updates shape geometry from IGeometryPath object. 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_path(self, geometry_path):
...
| Parameter | Type | Description |
|---|---|---|
| geometry_path | IGeometryPath | Geometry path |
Examples
Example:
Exceptions
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(ArgumentException)) | No path found |
| RuntimeError(Proxy error(ArgumentException)) | Empty path found |
See Also
- class
Connector - class
IGeometryPath - module
aspose.slides - library
Aspose.Slides