PrintContext.getHardMargins

Obtains the hardware printer margins of the GtkPrintContext, in units.

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

Parameters

top double

top hardware printer margin

bottom double

bottom hardware printer margin

left double

left hardware printer margin

right double

right hardware printer margin

Return Value

Type: bool

%TRUE if the hard margins were retrieved

Meta