AutoShapeAddTextFrame Method |
Adds a new TextFrame to a shape.
If shape already has TextFrame then simply changes its text.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic virtual ITextFrame AddTextFrame(
string text
)
Public Overridable Function AddTextFrame (
text As String
) As ITextFrame
public:
virtual ITextFrame^ AddTextFrame(
String^ text
)
abstract AddTextFrame :
text : string -> ITextFrame
override AddTextFrame :
text : string -> ITextFrame
Parameters
- text
- Type: SystemString
Default text for a new TextFrame.
Return Value
Type:
ITextFrameImplements
IAutoShapeAddTextFrame(String)
See Also