Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / RichTextEditor Class / SetSelectionSize Method
Point size for the selected part


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

    Parameters

    size
    Point size for the selected part

    Return Value

    true if successful; false otherwise
    See Also