runModal(with:)
Displays the Print panel and runs the modal loop using the specified printing information.
Declaration
func runModal(with printInfo: NSPrintInfo) -> IntParameters
- printInfo:
The printing information to use while displaying the Print panel.
Return Value
NSCancelButton if the user clicks the Cancel button; otherwise NSOKButton.