MultiLineEdit.GetLine Method | |
Get a line of text—specified by position—in a multiline edit control.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD GetLine(
nLineNumber,
nMaxLength
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual GetLine(
Usual nLineNumber = default,
Usual nMaxLength = default
)
Request Example
View SourceParameters
- nLineNumber (Optional)
- Type: Usual
The position in the multiline edit control at which the desired string is located. Specify one of the following values:
Value Position
0 The current line in the multiline edit control (that is, the line currently containing the text cursor). This is the default.
1 The first line in the multiline edit control.
n The nth line in the multiline edit control.
- nMaxLength (Optional)
- Type: Usual
The maximum number of characters to extract from the specified line. The default is to return the entire line, including any actual blanks in the text but excluding any blanks displayed due to word-wrapping.
Return Value
Type:
Usual
The text of the specified line.
See Also