[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.TextAlignmentSelectionAsync

TextAlignmentSelectionAsync Method

TextAlignmentSelectionAsync(HorizontalAlignment)

Specifies the horizonal alignment of the paragraph of the currently selected text asynchronously.

Declaration
public Task TextAlignmentSelectionAsync(HorizontalAlignment alignment)
Parameters
Type Name Description
HorizontalAlignment alignment

Specifies the HorizonalAlignment for the paragraph.

Returns
Type Description
Task

TextAlignmentSelectionAsync(TextAlignment)

Specifies the horizonal alignment of the paragraph of the currently selected text asynchronously.

Declaration
public Task TextAlignmentSelectionAsync(TextAlignment alignment)
Parameters
Type Name Description
TextAlignment alignment

Specifies the TextAlignment for the paragraph.

Returns
Type Description
Task