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

NameTypeAccessDescription
ShapeTypeShapeTypeRead/WriteGets the enumeration value that identifies the specific type of the auto shape
TextFrameITextFrame?ReadProvides access to the shape’s text frame, allowing text manipulation
IsTextBoxboolReadIndicates whether the auto shape functions as a text box
AsIGeometryShapeIGeometryShapeReadCasts the auto shape to the IGeometryShape interface for geometry operations

Methods

SignatureDescription
AddTextFrame(text: string?)Adds a text frame to the shape, optionally initializing it with the given text

See Also