preparePageLayout(_:)
Adds document-specific content to the Page Layout panel.
Declaration
func preparePageLayout(_ pageLayout: NSPageLayout) -> BoolParameters
- pageLayout:
The page layout panel to prepare.
Return Value
Discussion
The runModalPageLayoutWithPrintInfo: and runModalPageLayout(with:delegate:didRun:contextInfo:) methods call this method to allow the document to customize the Page Layout panel pageLayout. You might use this method to add a document-related accessory view.
The default implementation returns true.