PageSetup.from_key_file
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.12" ) ]
public PageSetup.from_key_file (KeyFile key_file, string? group_name) throws Error
[ Version ( since = "2.12" ) ]
public PageSetup.from_key_file (KeyFile key_file, string? group_name) throws Error
Reads the page setup from the group group_name
in the key file key_file
.
Returns a new PageSetup object with the restored page setup, or null if an error occurred.
Parameters:
key_file |
the KeyFile to retrieve the page_setup from |
group_name |
the name of the group in the key_file to read, or null to use the default name “Page Setup” |
Returns:
the restored PageSetup |