Gets index of the position where the selection starts (in char-index).
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public int AnchorIndex { get; } |
Visual Basic |
---|
Public ReadOnly Property AnchorIndex As Integer Get |
Property Value
Type: Int32
Remarks
This property gets the index of the 'selection anchor;' where the selection starts.
In Azuki, selection always exists and is expressed by the range from anchor index to caret index. If there is nothing selected, it means that both anchor index and caret index is set to same value.
To set value of anchor or caret, use Document.SetSelection method.