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


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

    Parameters

    underlined
    true to underline selection; false to make it regular
    See Also