|
|
|
SftMask.SelLength Property |
Defines the length of the selected text.
Syntax
VB.NET |
Len = object.SelLength As Integer |
||
VB |
Len = object.SelLength As Long |
||
C#.NET |
int Len = object.SelLength; |
||
VC++ |
long Len = object->SelLength;
|
||
C |
HRESULT object->get_SelLength(long* Len); |
||
Delphi |
Len := object.SelLength : Integer; |
||
VB.NET |
object.SelLength = Len As Integer |
||
VB |
object.SelLength = Len As Long |
||
C#.NET |
int object.SelLength = Len; |
||
VC++ |
long object->SelLength = Len;
|
||
C |
HRESULT object->put_SelLength(long Len); |
||
Delphi |
object.SelLength := Len : Integer; |
object
A SftMask object.
Len
Defines the length of the selected text. This value may be negative.
Comments
The SelLength property defines the length of the selected text.
The selected text or current selection always starts at the index defined by the SelStart property, which is also the caret location or insertion point.
The selection extends from the position defined by SelStart towards the end of the text if SelLength is a positive value. If SelLength is a negative value, the selection extends from the position defined by SelStart towards the beginning of the text.