PageSetup.from_file


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.12" ) ]
public PageSetup.from_file (string file_name) throws Error

Reads the page setup from the file file_name.

Returns a new PageSetup object with the restored page setup, or null if an error occurred. See to_file.

Parameters:

file_name

the filename to read the page setup from

Returns:

the restored PageSetup