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


In This Topic
    SetSelectionSize Method (RichTextBoxWrapper)
    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 RichTextBoxWrapper
    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