Invoked by runModalPageLayoutWithPrintInfo: and runModalPageLayoutWithPrintInfo:delegate:didRunSelector:contextInfo: to do any customization of the Page Layout panel pageLayout, such as adding an accessory view.
Original signature is '- (BOOL)preparePageLayout:(NSPageLayout *)pageLayout'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool PreparePageLayout( NSPageLayout pageLayout )
Public Overridable Function PreparePageLayout ( _ pageLayout As NSPageLayout _ ) As Boolean
public: virtual bool PreparePageLayout( NSPageLayout^ pageLayout )
Parameters
- pageLayout (NSPageLayout)
- The page layout panel to prepare.
Return Value
YES if successfully prepared; otherwise, NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)