Description
Sets the text mode and its associated data - corresponding to the two parameters of the >rem...< GNML tag.
A run-time error occurs if either value is not valid.
Syntax
object.SetMode (nMode, nModeData) |
object
Required. Object name, returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions
nMode
one of the values listed in the GetMode function documentation
nModeData
This parameter has to be
•0 when nMode is 0, 4 or 5;
•a valid region database id when nMode is 2 or 3;
•any number when nMode is 1.
Note that nMode 4 and 5 generate the nModeData value automatically - the one you specify is ignored.
See also
Other hidden text properties and functions