Gets number of characters currently selected.

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

Syntax

C#
int GetSelectedTextLength()
Visual Basic
Function GetSelectedTextLength As Integer

Return Value

Type: Int32
Number of characters currently selected.

Remarks

This method gets number of characters currently selected, properly even if the selection mode is rectangle selection.

Note that the difference between the end of selection and the beginning of selection is not a number of selected characters if they are selected by rectangle selection.

See Also