Calculates screen line index from char-index.
Namespace: Sgry.Azuki.WinFormsAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
| C# |
|---|
public int GetLineIndexFromCharIndex( int charIndex ) |
| Visual Basic |
|---|
Public Function GetLineIndexFromCharIndex ( charIndex As Integer ) As Integer |
Parameters
- charIndex
- Type: System..::..Int32
The index of the line which contains the char at this parameter will be calculated.
Return Value
Type: Int32The index of the line which contains the character at specified index.
Implements
IUserInterface..::..GetLineIndexFromCharIndex(Int32)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | Specified index was out of range. |