Instance Method

alignLeft(_:)

This action method applies left alignment to selected paragraphs (or all text if the receiver is a plain text object).

Declaration

func alignLeft(_ sender: Any?)

See Also

Setting text alignment

var alignment: NSTextAlignment

The alignment of all the receiver’s text.

func alignCenter(Any?)

This action method applies center alignment to selected paragraphs (or all text if the receiver is a plain text object).

func alignRight(Any?)

This action method applies right alignment to selected paragraphs (or all text if the receiver is a plain text object).