[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.GetLineLength

GetLineLength Method

GetLineLength(int)

Returns the number of characters in the specified line.

Declaration
public int GetLineLength(int lineIndex)
Public Function GetLineLength(lineIndex As Integer) As Integer
Parameters
Type Name Description
int lineIndex

The zero-based line index for which to return a character count.

Returns
Type Description
int

The number of characters in the specified line.

Exceptions
Type Condition
ArgumentOutOfRangeException

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