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

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..GetLineHeadIndexFromCharIndex Method
Document Class See Also Send Feedback

Gets index of the first char in the logical line which contains the specified char-index.

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

# Syntax

C#
    public int GetLineHeadIndexFromCharIndex(
    	int charIndex
    )

Visual Basic
    Public Function GetLineHeadIndexFromCharIndex (
    	charIndex As Integer
    ) As Integer

#### Parameters

charIndex
  Type: System..::..Int32

#### Return Value

Type: Int32

# Exceptions

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

# See Also

Document Class
Document..::..Document Members
Sgry.Azuki Namespace