Printer.getHardMargins

Retrieve the hard margins of @printer.

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].

class Printer
bool
getHardMargins
(
out double top
,
out double bottom
,
out double left
,
out double right
)

Parameters

top double

a location to store the top margin in

bottom double

a location to store the bottom margin in

left double

a location to store the left margin in

right double

a location to store the right margin in

Return Value

Type: bool

%TRUE iff the hard margins were retrieved

Meta