MonobjcMonobjc Documented Class Library
BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo Method (printInfo, docWindow, modalDelegate, didEndSelector, contextInfo)
NamespacesMonobjc.AppKitNSPrintPanelBeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo(NSPrintInfo, NSWindow, Id, IntPtr, IntPtr)

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 BasicVisual C++
public virtual void BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo(
	NSPrintInfo printInfo,
	NSWindow docWindow,
	Id modalDelegate,
	IntPtr didEndSelector,
	IntPtr contextInfo
)
Public Overridable Sub BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo ( _
	printInfo As NSPrintInfo, _
	docWindow As NSWindow, _
	modalDelegate As Id, _
	didEndSelector As IntPtr, _
	contextInfo As IntPtr _
)
public:
virtual void BeginSheetWithPrintInfoModalForWindowDelegateDidEndSelectorContextInfo(
	NSPrintInfo^ printInfo, 
	NSWindow^ docWindow, 
	Id^ modalDelegate, 
	IntPtr didEndSelector, 
	IntPtr contextInfo
)
Parameters
printInfo (NSPrintInfo)
The printing information for the current job.
docWindow (NSWindow)
The window on which to display the sheet.
modalDelegate (Id)
A modal delegate object assigned to handle the closing of the Print panel sheet.
didEndSelector (IntPtr)
The selector to call on the modal delegate object when the sheet is dismissed. The signature of this method is listed in the Discussion section.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)