get_hard_margins_for_paper_size


Description:

public bool get_hard_margins_for_paper_size (PaperSize paper_size, out double top, out double bottom, out double left, out double right)

Retrieve the hard margins of this for paper_size.

These are the margins that define the area at the borders of the paper that the printer cannot print to.

Note: This will not succeed unless the printer’s details are available, see [method@Gtk.Printer.has_details] and [ method@Gtk.Printer.request_details].

Parameters:

this

a `GtkPrinter`

paper_size

a `GtkPaperSize`

top

a location to store the top margin in

bottom

a location to store the bottom margin in

left

a location to store the left margin in

right

a location to store the right margin in

Returns:

true iff the hard margins were retrieved