[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.GetLineText

GetLineText Method

GetLineText(int)

Returns the text that is currently displayed on the specified line.

Declaration
public string GetLineText(int lineIndex)
Public Function GetLineText(lineIndex As Integer) As String
Parameters
Type Name Description
int lineIndex

The zero-based line index for which to retrieve the currently displayed text.

Returns
Type Description
string

A string containing a copy of the text currently visible on the specified line.

Exceptions
Type Condition
ArgumentOutOfRangeException

If lineIndex is less than 0 or is greater than or equals to line count.