Printer.getHardMargins

Retrieve the hard margins of printer, i.e. 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 gtk_printer_has_details() and gtk_printer_request_details(). Since 2.20

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

Parameters

top double

a location to store the top margin in. out

bottom double

a location to store the bottom margin in. out

left double

a location to store the left margin in. out

right double

a location to store the right margin in. out

Return Value

Type: int

TRUE iff the hard margins were retrieved

Meta