MonobjcMonobjc Documented Class Library
PrinterWithName Method (name)
NamespacesMonobjc.AppKitNSPrinterPrinterWithName(NSString)

Creates and returns an NSPrinter object initialized with the specified printer name.

Original signature is '+ (NSPrinter *)printerWithName:(NSString *)name'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPrinter PrinterWithName(
	NSString name
)
Public Shared Function PrinterWithName ( _
	name As NSString _
) As NSPrinter
public:
static NSPrinter^ PrinterWithName(
	NSString^ name
)
Parameters
name (NSString)
The name of the printer.
Return Value
An initialized NSPrinter object, or nil if the specified printer was not available.
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)