Calculates screen line index from char-index.

Namespace: Sgry.Azuki.WinForms
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
The index of the line which contains the char at this parameter will be calculated.

Return Value

Type: Int32
The index of the line which contains the character at specified index.

Implements

IUserInterface..::..GetLineIndexFromCharIndex(Int32)

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionSpecified index was out of range.

See Also