SmartArtShape

SmartArtShape class

Represents SmartArt shape

getShapeType

NameDescription
getShapeType ()Returns or sets the geometry preset type. Note: on value changing all adjustment values will reset to their default values. Read/write ShapeType.

Returns: int

Exception

ErrorCondition
ArgumentExceptionThrown when value is ShapeType.NotDefined or ShapeType.Custom

getTextFrame

NameDescription
getTextFrame ()Returns text of the SmartArt shape. Read-only ITextFrame.

Returns: TextFrame


setShapeType

NameDescription
setShapeType (int)Returns or sets the geometry preset type. Note: on value changing all adjustment values will reset to their default values. Read/write ShapeType.

Returns: void

Exception

ErrorCondition
ArgumentExceptionThrown when value is ShapeType.NotDefined or ShapeType.Custom