Spread Windows Forms 18
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 (RichTextBoxWrapper)
    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)
    public bool SetSelectionBold( 
       bool bold
    )

    Parameters

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