IAutoShape

IAutoShape interface

Represents an AutoShape.

public interface IAutoShape : IGeometryShape

Properties

NameDescription
AsIGeometryShape { get; }Allows to get base IGeometryShape interface. Read-only IGeometryShape.
AutoShapeLock { get; }Returns AutoShape’s locks. Read-only IAutoShapeLock.
IsTextBox { get; }Specifies if the shape is a text box.
ShapeLock { get; }Returns shape’s locks. Read-only IAutoShapeLock.
TextFrame { get; }Returns TextFrame object for the AutoShape. Read-only ITextFrame.
UseBackgroundFill { get; set; }Determines whether this autoshape should be filled with slide’s background fill instead of specified by style or fill format. Read/write Boolean.

Methods

NameDescription
AddTextFrame(string)Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.

See Also