Instance Property

textAlignment

The alignment of the printed text.

Declaration

var textAlignment: NSTextAlignment { get set }

Discussion

The default text alignment is UITextAlignment.left.

See Also

Text Attributes for Printed Content

var font: UIFont?

The font of the printed text.

var color: UIColor?

The color of the printed text.