Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / RichTextEditor Class / SetSelectionBold Method
true to make selection bold; false to make it regular


In This Topic
    SetSelectionBold Method (RichTextEditor)
    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 RichTextEditor
    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