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

C#
Visual Basic

Azuki 1.7 Documentation
AzukiControl..::..GetSelectedTextLength Method
AzukiControl Class See Also Send Feedback

Gets number of characters currently selected.

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

# Syntax

C#
    public int GetSelectedTextLength()

Visual Basic
    Public Function GetSelectedTextLength As Integer

#### Return Value

Type: Int32
Number of characters currently selected.

#### Implements

IUserInterface..::..GetSelectedTextLength()()()()

# 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

AzukiControl Class
AzukiControl..::..AzukiControl Members
Sgry.Azuki.WinForms Namespace