PrintSettings.getIntWithDefault

Returns the value of @key, interpreted as an integer, or the default value.

class PrintSettings
int
getIntWithDefault
(
string key
,
int def
)

Parameters

key string

a key

def int

the default value

Return Value

Type: int

the integer value of @key

Meta

Since

2.10