MonobjcMonobjc Documented Class Library
SizeForKeyInTable Method (key, table)
NamespacesMonobjc.AppKitNSPrinterSizeForKeyInTable(NSString, NSString)

Returns the size data type associated with the specified key.

Original signature is '- (NSSize)sizeForKey:(NSString *)key inTable:(NSString *)table'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSSize SizeForKeyInTable(
	NSString key,
	NSString table
)
Public Overridable Function SizeForKeyInTable ( _
	key As NSString, _
	table As NSString _
) As NSSize
public:
virtual NSSize SizeForKeyInTable(
	NSString^ key, 
	NSString^ table
)
Parameters
key (NSString)
The key whose value you want.
table (NSString)
The name of a table from the printer's PPD file.
Return Value
The size value. Returns NSZeroSize if the key is not in the table or the receiver lacks a PPD file.
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)