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

In This Topic
    TextAlignmentSelectionAsync(HorizontalAlignment) 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.Forms.HorizontalAlignment _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task TextAlignmentSelectionAsync( 
       System.Windows.Forms.HorizontalAlignment alignment
    )

    Parameters

    alignment
    Specifies the HorizonalAlignment for the paragraph.
    See Also