Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SetParagraphFontAtSelectionAsync Method
A font object specifying the desired font for the current paragraph.

In This Topic
    SetParagraphFontAtSelectionAsync Method
    In This Topic
    Sets the font for the paragraph at the current cursor position asynchronously.
    Syntax
    'Declaration
     
    Public Function SetParagraphFontAtSelectionAsync( _
       ByVal font As System.Drawing.Font _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task SetParagraphFontAtSelectionAsync( 
       System.Drawing.Font font
    )

    Parameters

    font
    A font object specifying the desired font for the current paragraph.
    See Also