Contents

NSPageLayout

A panel that queries the user for information such as paper type and orientation.

Declaration

@MainActor class NSPageLayout

Overview

A page layout panel is typically displayed in response to the user selecting the Page Setup menu item. You obtain an instance with the pageLayout class method. The pane can then be run as a sheet using beginSheet(with:modalFor:delegate:didEnd:contextInfo:) or modally using runModal() or runModal(with:).

For design guidance, see Human Interface Guidelines.

Topics

Running the page setup dialog

Customizing the page setup dialog

Accessing the printing information

See Also

Print Panels