PrintSettings.getLength

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

class PrintSettings
double
getLength
(
string key
,)

Parameters

key string

a key

unit GtkUnit

the unit of the return value

Return Value

Type: double

the length value of @key, converted to @unit

Meta

Since

2.10