runModal(with:)
Displays the page layout panel and begins the modal loop using the specified print info object.
Declaration
func runModal(with printInfo: NSPrintInfo) -> IntParameters
- printInfo:
The
NSPrintInfoobject to use.
Return Value
NSCancelButton if the user clicks the Cancel button; otherwise, NSOKButton.
Discussion
The receiver’s values are recorded in printInfo.