Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SetFontAtSelectionAsync Method
A font object specifying the desired font for the selected text asynchronously.

In This Topic
    SetFontAtSelectionAsync Method
    In This Topic
    Set the font for the selected text.
    Syntax
    'Declaration
     
    Public Function SetFontAtSelectionAsync( _
       ByVal font As System.Drawing.Font _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task SetFontAtSelectionAsync( 
       System.Drawing.Font font
    )

    Parameters

    font
    A font object specifying the desired font for the selected text asynchronously.
    See Also