Instance Method

runPageLayout:

The action method invoked in the receiver as first responder when the user chooses the Page Setup menu command.

Declaration

- (IBAction)runPageLayout:(id)sender;

Parameters

sender

The control sending the message.

Discussion

The default implementation invokes runModalPageLayoutWithPrintInfo:delegate:didRunSelector:contextInfo: with the document’s current NSPrintInfo object as argument; if the user clicks the OK button and the document authorizes changes to its printing information (shouldChangePrintInfo:), the method sets the document’s new NSPrintInfo object and increments the document’s change count.

See Also

Handling User Actions

- printDocument:

Prints the receiver in response to the user choosing the Print menu command.

- revertDocumentToSaved:

The action of the File menu item Revert in a document-based app.

- saveDocument:

The action method invoked in the receiver as first responder when the user chooses the Save menu command.

- saveDocumentAs:

The action method invoked in the receiver as first responder when the user chooses the Save As menu command.

- saveDocumentTo:

The action method invoked in the receiver as first responder when the user chooses the Save To menu command.