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


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