MultiLineEdit.GetLine Method (Typed) | |
Get a line of text—specified by position—in a multiline edit control.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD GetLine(
nLineNumber AS LONG,
nMaxLength AS LONG
) AS STRING
public virtual string GetLine(
[DefaultParameterValueAttribute(0, 0)] int nLineNumber,
[DefaultParameterValueAttribute(0, 0)] int nMaxLength
)
Request Example
View SourceParameters
- nLineNumber
- Type: Long
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
- Type: Long
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:
String
The text of the specified line.
See Also