AutoShape
General
AutoShape és una classe en Aspose.Slides per Python. Heretaris de: GeometryShape, IAutoShape.
Representa un AutoShape.
Propietats
| Nom | Tipus de productes | Accés | Descripció |
|---|---|---|---|
shape_type | ShapeType | Llegeix. | Obté el valor enum ShapeType que identifica el tipus geomètric de la forma. |
text_frame | ITextFrame | Llegeix. | Obté l’objecte ITextFrame que conté el contingut de text de la forma. |
is_text_box | bool | Llegeix. | Indica si la forma funciona com a caixa de text (Verdader/Fals) |
as_i_geometry_shape | IGeometryShape | Llegeix. | Proporciona la forma com una interfície IGeometryShape per a operacions geomètriques. |
Mètodes
| Signatura | Descripció |
|---|---|
add_text_frame(text) → ITextFrame | creates a new text frame inside the shape and returns anITextFrame` object per a una posterior manipulació del text |