MonobjcMonobjc Documented Class Library
NSApplication..::..ApplicationPrintFilesWithSettingsShowPrintPanelsEventHandler Delegate
NamespacesMonobjc.AppKitNSApplicationNSApplication..::..ApplicationPrintFilesWithSettingsShowPrintPanelsEventHandler

Prints a group of files.

Original signature is '- (NSApplicationPrintReply)application:(NSApplication *)application printFiles:(NSArray *)fileNames withSettings:(NSDictionary *)printSettings showPrintPanels:(BOOL)showPrintPanels'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSApplicationPrintReply ApplicationPrintFilesWithSettingsShowPrintPanelsEventHandler(
	NSApplication application,
	NSArray fileNames,
	NSDictionary printSettings,
	bool showPrintPanels
)
Public Delegate Function ApplicationPrintFilesWithSettingsShowPrintPanelsEventHandler ( _
	application As NSApplication, _
	fileNames As NSArray, _
	printSettings As NSDictionary, _
	showPrintPanels As Boolean _
) As NSApplicationPrintReply
public delegate NSApplicationPrintReply ApplicationPrintFilesWithSettingsShowPrintPanelsEventHandler(
	NSApplication^ application, 
	NSArray^ fileNames, 
	NSDictionary^ printSettings, 
	bool showPrintPanels
)
Parameters
application (NSApplication)
The application object that is handling the printing.
fileNames (NSArray)
An array of NSString objects, each of which contains the name of a file to print.
printSettings (NSDictionary)
A dictionary containing NSPrintInfo-compatible print job attributes.
showPrintPanels (Boolean)
A Boolean that specifies whether the print panel should be displayed for each file printed. Print progress indicators will be presented even if this value is NO.
Return Value
A constant indicating whether printing was successful. For a list of possible values, see “NSApplicationPrintReply” in NSApplication Class Reference.
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)