Partager via


TextFrame2.TextRange Property (Office)

Sets the text for a range of nodes in a SmartArt object. Read-only

Version Information

Version Added: Office 2010

Syntax

expression .TextRange

expression An expression that returns a TextFrame2 object.

Example

The following example sets the text inside the first node.

smartart.AllNodes(1).TextFrame2.TextRange.Text="Node 1"

See Also

Concepts

TextFrame2 Object

TextFrame2 Object Members