Contents

viewMode

The view mode.

Declaration

static let viewMode: NSAttributedString.DocumentAttributeKey

Discussion

The value of this attribute is an NSValue object containing an integer. A value of 0 indicates normal, and a value of 1 indicates page layout (use the value @"PaperSize").

The string constant in macOS 10.3 and earlier is @"ViewMode".

See Also

Getting document appearance keys