Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / IRichTextEditor Interface / ApplyFont Method
Font setting
The starting point of text to apply in the editor. -1 to apply selected text. -2 to apply as default setting.
The number of characters to apply in the editor.


In This Topic
    ApplyFont Method (IRichTextEditor)
    In This Topic
    Apply the font setting.
    Syntax
    'Declaration
     
    
    Sub ApplyFont( _
       ByVal value As Font, _
       ByVal start As Integer, _
       ByVal end As Integer _
    ) 
    'Usage
     
    
    Dim instance As IRichTextEditor
    Dim value As Font
    Dim start As Integer
    Dim end As Integer
     
    instance.ApplyFont(value, start, end)
    void ApplyFont( 
       Font value,
       int start,
       int end
    )

    Parameters

    value
    Font setting
    start
    The starting point of text to apply in the editor. -1 to apply selected text. -2 to apply as default setting.
    end
    The number of characters to apply in the editor.
    See Also