MonobjcMonobjc Documented Class Library
FloatForKeyInTable Method (key, table)
NamespacesMonobjc.AppKitNSPrinterFloatForKeyInTable(NSString, NSString)

Returns the floating-point value associated with the specified key.

Original signature is '- (float)floatForKey:(NSString *)key inTable:(NSString *)table'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual float FloatForKeyInTable(
	NSString key,
	NSString table
)
Public Overridable Function FloatForKeyInTable ( _
	key As NSString, _
	table As NSString _
) As Single
public:
virtual float FloatForKeyInTable(
	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 floating-point value. Returns 0.0 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)