Contents

runModal()

Displays the page layout panel and begins the modal loop using the shared print info object.

Declaration

func runModal() -> Int

Return Value

NSCancelButton if the user clicks the Cancel button; otherwise, NSOKButton.

Discussion

The receiver’s values are recorded in the shared NSPrintInfo object.

See Also

Running the page setup dialog