Text (Property)

Applies To:

ControlsTextBox, EmbeddedBrowser object, HyperLink object, Title object

Description:

Returns or sets the value of the text that is displayed in a Text box control or Text label shape.

Action:

Read-write, String

Example:

This example shows how to set an initial value for a text box:

ActiveDocument.Sections["Dashboard2"].Shapes["TextBox1"].Text="Hello World"
Alert (ActiveDocument.Sections["Dashboard2"].Shapes["TextBox1"].Text)