PrintContext.getHardMargins

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

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

Parameters

top double

top hardware printer margin. out

bottom double

bottom hardware printer margin. out

left double

left hardware printer margin. out

right double

right hardware printer margin. out

Return Value

Type: int

TRUE if the hard margins were retrieved

Meta