AutoShape
Overview
AutoShape is a class in Aspose.Slides FOSS for .NET.
Inherits from: GeometryShape, IAutoShape.
Represents an AutoShape — a preset or custom geometric shape that may contain text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ShapeType | ShapeType | Read/Write | Gets the enumeration value that identifies the specific type of the auto shape |
TextFrame | ITextFrame? | Read | Provides access to the shape’s text frame, allowing text manipulation |
IsTextBox | bool | Read | Indicates whether the auto shape functions as a text box |
AsIGeometryShape | IGeometryShape | Read | Casts the auto shape to the IGeometryShape interface for geometry operations |
Methods
| Signature | Description |
|---|---|
AddTextFrame(text: string?) | Adds a text frame to the shape, optionally initializing it with the given text |