AutoShape
Overview
AutoShape is a class in Aspose.Slides FOSS for Python.
Inherits from: GeometryShape, IAutoShape.
Represents an AutoShape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
shape_type | ShapeType | Read | Gets the ShapeType enumeration value that identifies the auto shape’s type |
text_frame | ITextFrame | Read | Returns TextFrame object for the AutoShape. |
is_text_box | bool | Read | Specifies if the shape is a text box. |
as_i_geometry_shape | IGeometryShape | Read | Provides the shape cast as an IGeometryShape interface |
Methods
| Signature | Description |
|---|---|
add_text_frame(text) → ITextFrame | Adds a TextFrame containing the given text and returns the ITextFrame |