AutoShape

General

AutoShape és una classe en Aspose.Slides per Python. Heretaris de: GeometryShape, IAutoShape.

Representa un AutoShape.

Propietats

NomTipus de productesAccésDescripció
shape_typeShapeTypeLlegeix.Obté el valor enum ShapeType que identifica el tipus geomètric de la forma.
text_frameITextFrameLlegeix.Obté l’objecte ITextFrame que conté el contingut de text de la forma.
is_text_boxboolLlegeix.Indica si la forma funciona com a caixa de text (Verdader/Fals)
as_i_geometry_shapeIGeometryShapeLlegeix.Proporciona la forma com una interfície IGeometryShape per a operacions geomètriques.

Mètodes

SignaturaDescripció
add_text_frame(text)ITextFramecreates a new text frame inside the shape and returns anITextFrame` object per a una posterior manipulació del text
 Català