PrintContext.getHardMargins

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

Obtains the hardware printer margins of the [gtk.print_context.PrintContext], in units.

Parameters

toptop hardware printer margin
bottombottom hardware printer margin
leftleft hardware printer margin
rightright hardware printer margin

Returns

true if the hard margins were retrieved