PaperSize.from_key_file
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.12" ) ]
public PaperSize.from_key_file (KeyFile key_file, string? group_name) throws Error
[ Version ( since = "2.12" ) ]
public PaperSize.from_key_file (KeyFile key_file, string? group_name) throws Error
Reads a paper size from the group group_name
in the key file key_file
.
Parameters:
key_file |
the KeyFile to retrieve the papersize from |
group_name |
the name of the group in the key file to read, or null to read the first group |
Returns:
a new PaperSize object with the restored paper size, or null if an error occurred |