PageSetup.from_file


Description:

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

Reads the page setup from the file file_name.

Returns a new `GtkPageSetup` object with the restored page setup, or null if an error occurred. See [ method@Gtk.PageSetup.to_file].

Parameters:

file_name

the filename to read the page setup from

Returns:

the restored `GtkPageSetup`