Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / RichTextBoxWrapper Class / SetSelectionFont Method
Name of the font for the selected part


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

    Parameters

    face
    Name of the font for the selected part
    See Also