Contents

floatForKey:inTable:

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

Declaration

- (float) floatForKey:(NSString *) key inTable:(NSString *) table;

Parameters

  • key:

    The key whose value you want.

  • table:

    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.

See Also

Deprecated