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

C#
Visual Basic

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

Sets caret location by logical line/column index. Note that calling this method will release selection.

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

# Syntax

C#
    public void SetCaretIndex(
    	int lineIndex,
    	int columnIndex
    )

Visual Basic
    Public Sub SetCaretIndex (
    	lineIndex As Integer,
    	columnIndex As Integer
    )

#### Parameters

lineIndex
  Type: System..::..Int32
  new line index of where the caret is at

columnIndex
  Type: System..::..Int32
  new column index of where the caret is at

# Exceptions

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

# See Also

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