MonobjcMonobjc Documented Class Library
PrintOperationWithSettingsError Method (printSettings, outError)
NamespacesMonobjc.AppKitNSDocumentPrintOperationWithSettingsError(NSDictionary, NSError%)

Creates a print operation and returns it if successful.

Original signature is '- (NSPrintOperation *)printOperationWithSettings:(NSDictionary *)printSettings error:(NSError **)outError'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSPrintOperation PrintOperationWithSettingsError(
	NSDictionary printSettings,
	out NSError outError
)
Public Overridable Function PrintOperationWithSettingsError ( _
	printSettings As NSDictionary, _
	<OutAttribute> ByRef outError As NSError _
) As NSPrintOperation
public:
virtual NSPrintOperation^ PrintOperationWithSettingsError(
	NSDictionary^ printSettings, 
	[OutAttribute] NSError^% outError
)
Parameters
printSettings (NSDictionary)
The print settings dictionary to use.
outError (NSError%)
On return, If the print operation could not be created, a pointer to an error object that encapsulates the reason it could not be created.
Return Value
The print operation, or nil if unsuccessful.
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)