DekGenius.com
[ Team LiB ] Previous Section Next Section

NSPageLayout Mac OS X 10.0

This class implements the Mac OS X Page Layout panel, with which users can specify page layout information such as the paper size and orientation. Page layout objects are created with the class layout pageLayout. The panel is made visible by invoking either runModal, or runModalWithPrintInfo:. Alternatively, the page layout panel may be displayed as a sheet.

figs/cocn_1565.gif

@interface NSPageLayout : NSObject
 // Accessor Methods
   - (void)setAccessoryView:(NSView *)aView;
   - (NSView *)accessoryView;
   - (NSView *)accessoryView;
   - (void)setAccessoryView:(NSView *)aView;
 // Class Methods
   + (NSPageLayout *)pageLayout;
   + (NSPageLayout *)pageLayout;
 // Instance Methods
   - (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo
        modalForWindow:(NSWindow *)docWindow delegate:(id)delegate didEndSelector:(SEL)didEndSelector
        contextInfo:(void *)contextInfo;
   - (void)convertOldFactor:(float *)oldFactor newFactor:(float *)newFactor;
   - (void)pickedButton:(id)sender;
   - (void)pickedOrientation:(id)sender;
   - (void)pickedPaperSize:(id)sender;
   - (void)pickedUnits:(id)sender;
   - (NSPrintInfo *)printInfo;
   - (NSPrintInfo *)printInfo;
   - (void)readPrintInfo;
   - (void)readPrintInfo;
   - (int)runModal;
   - (int)runModal;
   - (int)runModalWithPrintInfo:(NSPrintInfo *)pInfo;
   - (int)runModalWithPrintInfo:(NSPrintInfo *)pInfo;
   - (void)writePrintInfo;
   - (void)writePrintInfo;

    [ Team LiB ] Previous Section Next Section