SmartArtShape
SmartArtShape class
Represents SmartArt shape
getShapeType
| Name | Description |
|---|---|
| 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
Error
| Error | Condition |
|---|---|
| ArgumentException | Thrown when value is ShapeType.NotDefined or ShapeType.Custom |
getTextFrame
| Name | Description |
|---|---|
| getTextFrame() | Returns text of the SmartArt shape. Read-only ITextFrame. |
Returns: TextFrame
setShapeType
| Name | Description |
|---|---|
| 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. |
Error
| Error | Condition |
|---|---|
| ArgumentException | Thrown when value is ShapeType.NotDefined or ShapeType.Custom |