Presents a page setup sheet for the given NSPrintInfo object, document-modal relative to the given window.
Original signature is '- (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo modalForWindow:(NSWindow *)docWindow delegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo( NSPrintInfo printInfo, NSWindow docWindow, Id delegate, IntPtr didEndSelector, IntPtr contextInfo )
Public Overridable Sub BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo ( _ printInfo As NSPrintInfo, _ docWindow As NSWindow, _ delegate As Id, _ didEndSelector As IntPtr, _ contextInfo As IntPtr _ )
public: virtual void BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo( NSPrintInfo^ printInfo, NSWindow^ docWindow, Id^ delegate, IntPtr didEndSelector, IntPtr contextInfo )
Parameters
- printInfo (NSPrintInfo)
- The NSPrintInfo object to use.
- docWindow (NSWindow)
- The window to which the sheet is attached.
- delegate (Id)
- The delegate to which didEndSelector is sent. Can be nil.
- didEndSelector (IntPtr)
- The selector sent to the delegate. Can be nil.
- contextInfo (IntPtr)
- Context information object passed with didEndSelector.
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)