Instance Method

changeLayoutOrientation(_:)

An action method that sets the layout orientation of the text.

Declaration

func changeLayoutOrientation(_ sender: Any?)

Parameters

sender

The sender.

Discussion

Calls setLayoutOrientation(_:) with the sender's tag as the orientation.

See Also

Changing Layout Orientation

func setLayoutOrientation(NSLayoutManager.TextLayoutOrientation)

Changes the receiver's layout orientation and invalidates the contents.