Calculates logical line/column index from char-index.

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

Syntax

C#
public void GetLineColumnIndexFromCharIndex(
	int charIndex,
	out int lineIndex,
	out int columnIndex
)
Visual Basic
Public Sub GetLineColumnIndexFromCharIndex ( 
	charIndex As Integer,
	<OutAttribute> ByRef lineIndex As Integer,
	<OutAttribute> ByRef columnIndex As Integer
)

Parameters

charIndex
Type: System..::..Int32
lineIndex
Type: System..::..Int32%
columnIndex
Type: System..::..Int32%

Exceptions

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

See Also