MonobjcMonobjc Documented Class Library
ApplicationPrintFileMessage Method (theApplication, filename)
NamespacesMonobjc.AppKitNSApplication..::..NSApplicationDelegateEventDispatcherApplicationPrintFileMessage(NSApplication, NSString)

Sent when the user starts up the application on the command line with the -NSPrint option.

Original signature is '- (BOOL)application:(NSApplication *)theApplication printFile:(NSString *)filename'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool ApplicationPrintFileMessage(
	NSApplication theApplication,
	NSString filename
)
Public Function ApplicationPrintFileMessage ( _
	theApplication As NSApplication, _
	filename As NSString _
) As Boolean
public:
bool ApplicationPrintFileMessage(
	NSApplication^ theApplication, 
	NSString^ filename
)
Parameters
theApplication (NSApplication)
The application object that is handling the printing.
filename (NSString)
The name of the file to print.
Return Value
YES if the file was successfully printed or NO if it was not.
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)