|This method is obsolete. See the Remarks section below.|
Utilities.WrapText method scans the given string (Line) for occurrences of any of the characters specified by the nBreakChars parameter and inserts a line break, specified by BreakStr, at the last occurrence of the character in nBreakChars before MaxCol (the maximum line length).
Utilities.WrapText(Line, BreakStr, nBreakChars, MaxCol)
The method is applied to the following object:
The method has the following parameters:
Specifies the string to be split.
Specifies the symbol used as a line break. BreakStr typically includes the carriage return character.
Normally, nBreakChars is set to hold space, hyphen, tab and other similar characters on which to break the line.
Specifies the maximum length of the string. If the string’s length reaches the value of this parameter, this string is split into several lines.
WrapText returns the string split into multiple lines.
This method is obsolete. It is supported for backward compatibility only. To process strings, use the methods of the