Click or drag to resize

MultiLineEdit.GetLineLength Method (Typed)

X#
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.19
Syntax
 VIRTUAL METHOD GetLineLength(
	nLineNumber AS LONG
) AS LONG
Request Example View Source

Parameters

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