[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Shape.AddTextFrame

AddTextFrame Method

AddTextFrame(string, Style)

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.

Declaration
public TextFrame AddTextFrame(string text = null, Style style = null)
Public Function AddTextFrame(Optional text As String = Nothing, Optional style As Style = Nothing) As TextFrame
Parameters
Type Name Description
string text

The text frame content.

Style style

The text frame content style.

Returns
Type Description
TextFrame

The added TextFrame.