Prints the document.
Original signature is '- (void)printDocumentWithSettings:(NSDictionary *)printSettings showPrintPanel:(BOOL)showPrintPanel delegate:(id)delegate didPrintSelector:(SEL)didPrintSelector contextInfo:(void *)contextInfo'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo( NSDictionary printSettings, bool showPrintPanel, Id delegate, IntPtr didPrintSelector, IntPtr contextInfo )
Public Overridable Sub PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo ( _ printSettings As NSDictionary, _ showPrintPanel As Boolean, _ delegate As Id, _ didPrintSelector As IntPtr, _ contextInfo As IntPtr _ )
public: virtual void PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo( NSDictionary^ printSettings, bool showPrintPanel, Id^ delegate, IntPtr didPrintSelector, IntPtr contextInfo )
Parameters
- printSettings (NSDictionary)
- The print settings dictionary to use.
- showPrintPanel (Boolean)
- A Boolean value indicating whether the print panel is shown.
- delegate (Id)
- The delegate to which the selector message is sent.
- didPrintSelector (IntPtr)
- The selector of the message sent to the delegate.
- contextInfo (IntPtr)
- Object passed with the callback to provide any additional context information.
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)