load_key_file


Description:

[ Version ( since = "2.14" ) ]
public bool load_key_file (KeyFile key_file, string? group_name) throws Error

Reads the print settings from the group group_name in key_file.

If the file could not be loaded then error is set to either a FileError or KeyFileError.

Parameters:

this

a PrintSettings

key_file

the KeyFile to retrieve the settings from

group_name

the name of the group to use, or null to use the default “Print Settings”

Returns:

true on success