Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / RichTextBoxWrapper Class / SetSelectionBold Method
true to make selection bold; false to make it regular


In This Topic
SetSelectionBold Method
In This Topic
Sets the bold style only for the selected part of the rich text box without modifying the other properties like font or size.
Syntax
'Declaration
 
Public Function SetSelectionBold( _
   ByVal bold As Boolean _
) As Boolean
 
'Usage
 
Dim instance As RichTextBoxWrapper
Dim bold As Boolean
Dim value As Boolean
 
value = instance.SetSelectionBold(bold)

Parameters

bold
true to make selection bold; false to make it regular
See Also