version 6.0
WR Get selected text (area) Text
Parameter | Type | Description | |
area | Longint | 4D Write area | |
Function result | Text | Text selected in area |
Description
The command WR Get selected text returns the selected text in area.
The maximum number of characters 4th Dimension can store in a field or variable is 32,000. Therefore, WR Get selected text will return a maximum of 32,000 characters. If more than 32,000 characters are selected, this function returns an empty string and an error will be reported by WR Error number.
Example
The following example places the selected text in area into the variable vText.
vText:=WR Get selected text (area)
See Also
WR GET PARAGRAPHS, WR GET SELECTION, WR Get text, WR GET WORDS.