Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / TextAlignmentSelectionAsync Method / TextAlignmentSelectionAsync(TextAlignment) Method
Specifies the TextAlignment for the paragraph.

In This Topic
    TextAlignmentSelectionAsync(TextAlignment) Method
    In This Topic
    Specifies the horizonal alignment of the paragraph of the currently selected text asynchronously.
    Syntax
    'Declaration
     
    Public Overloads Function TextAlignmentSelectionAsync( _
       ByVal alignment As System.Windows.TextAlignment _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task TextAlignmentSelectionAsync( 
       System.Windows.TextAlignment alignment
    )

    Parameters

    alignment
    Specifies the TextAlignment for the paragraph.
    See Also