MultiLineEdit.GetLineLength Method (Typed) | |
Get the length of 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 GetLineLength(
nLineNumber AS LONG
) AS LONG
public virtual int GetLineLength(
int nLineNumber
)
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.
Return Value
Type:
Long
The length of the specified line.
See Also