Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / EditBase Class / Select Method / Select(Int32,Int32) Method
The position of the first character in the current text selection within the text box.
The number of characters to select.


Select(Int32,Int32) Method
Selects a range of text in the control.
Syntax
'Declaration
 
Public Overloads Sub Select( _
   ByVal start As Integer, _
   ByVal length As Integer _
) 
 
'Usage
 
Dim instance As EditBase
Dim start As Integer
Dim length As Integer
 
instance.Select(start, length)

Parameters

start
The position of the first character in the current text selection within the text box.
length
The number of characters to select.
Exceptions
ExceptionDescription
The value of the start parameter is less than zero.
See Also