[]
Adds a text frame to this shape.
Note that some geometries do not allow text frames (see TextFrameSupported(GeometryType)). If GeometryType of this shape does not support text frames, an exception will be thrown.
public TextFrame AddTextFrame(string text = null, Style style = null)
Public Function AddTextFrame(Optional text As String = Nothing, Optional style As Style = Nothing) As TextFrame
| Type | Name | Description |
|---|---|---|
| string | text | The text frame content. |
| Style | style | The text frame content style. |
| Type | Description |
|---|---|
| TextFrame | The added TextFrame. |