Instance Property

font

The font of the printed text.

Declaration

var font: UIFont? { get set }

Discussion

If the value of this property is nil (the default), UIKit uses the standard system font, 12 points.

See Also

Text Attributes for Printed Content

var color: UIColor?

The color of the printed text.

var textAlignment: NSTextAlignment

The alignment of the printed text.