Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / GetFirstCharIndexOfCurrentLine Method


In This Topic
GetFirstCharIndexOfCurrentLine Method
In This Topic
Retrieves the index of the first character of the current line.
Syntax
'Declaration
 
Public Function GetFirstCharIndexOfCurrentLine() As Integer
 
'Usage
 
Dim instance As GcTextBox
Dim value As Integer
 
value = instance.GetFirstCharIndexOfCurrentLine()

Return Value

The zero-based character index in the current line
Remarks
If the Text property is string.Empty, this method returns zero; otherwise, it returns the number of lines.
See Also