[]
Returns the zero-based line index for the line that contains the specified character index.
public int GetLineIndexFromCharacterIndex(int charIndex)
Public Function GetLineIndexFromCharacterIndex(charIndex As Integer) As Integer
Type | Name | Description |
---|---|---|
int | charIndex | The zero-based character index for which to retrieve the associated line index. |
Type | Description |
---|---|
int | The zero-based index for the line that contains the specified character index. |
Type | Condition |
---|---|
ArgumentOutOfRangeException |
|