Click or drag to resize

MultiLineEdit.GetLineLength Method

X#
Get the length of a line of text—specified by position—in a multiline edit control.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD GetLineLength(
	nLineNumber
) AS USUAL CLIPPER
Request Example View Source

Parameters

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.

Return Value

Type: Usual
The length of the specified line.
See Also