DynamicText, StaticText, and TextField.
Returns the text of the text field.
sText = object.GetText ([iStartChar, iNumChars])
Variable | Description |
---|---|
sText | The returned text. STRING. |
iStartChar | Optional. The position in the string (starting from 1) of the first character to return. INTEGER. |
iNumChars | Optional. The number of characters to return. INTEGER. |
If you include iStartChar but not iNumChars, GetText returns the text from the iStartChar character to the end of the text.
If you include both arguments, GetText returns iNumChars characters, starting with the iStartChar character.
STRING sAllText sAllText = GotoLine.Line.GetText()