Displays a Print panel sheet and runs it modally for the specified window.
Original signature is '- (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo modalForWindow:(NSWindow *)docWindow delegate:(id)modalDelegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo( NSPrintInfo printInfo, NSWindow docWindow, SheetDidEndReturnCodeContextInfoEventHandler<NSPrintPanel> modalDelegate, IntPtr contextInfo )
Public Sub BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo ( _ printInfo As NSPrintInfo, _ docWindow As NSWindow, _ modalDelegate As SheetDidEndReturnCodeContextInfoEventHandler(Of NSPrintPanel), _ contextInfo As IntPtr _ )
public: void BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo( NSPrintInfo^ printInfo, NSWindow^ docWindow, SheetDidEndReturnCodeContextInfoEventHandler<NSPrintPanel^>^ modalDelegate, IntPtr contextInfo )
Parameters
- printInfo (NSPrintInfo)
- The printing information for the current job.
- docWindow (NSWindow)
- The window on which to display the sheet.
- modalDelegate (SheetDidEndReturnCodeContextInfoEventHandler<(Of <(<'NSPrintPanel>)>)>)
- A modal delegate object assigned to handle the closing of the Print panel sheet.
- contextInfo (IntPtr)
- A pointer to context data the didEndSelector method needs to process the sheet. This data is user-defined and may be NULL.
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)