Calculates logical line index from char-index.

Namespace: Sgry.Azuki
Assembly: 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

Return Value

Type: Int32

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException Specified index is out of valid range.

See Also