PrintSettings.getLength

double getLength(string key, gtk.types.Unit unit)

Returns the value associated with key, interpreted as a length. The returned value is converted to units.

Parameters

keya key
unitthe unit of the return value

Returns

the length value of key, converted to unit