Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
IView..::..GetLineIndexFromCharIndex Method
IView Interface See Also Send Feedback

Calculates screen line index from char-index.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    int GetLineIndexFromCharIndex(
    	int charIndex
    )

Visual Basic
    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.

# Exceptions

Exception | Condition
--- | ---
System..::..ArgumentOutOfRangeException | Specified index was out of range.

# See Also

IView Interface
IView..::..IView Members
Sgry.Azuki Namespace