PageSetup.getPaperWidth

double getPaperWidth(gtk.types.Unit unit)

Returns the paper width in units of unit.

Note that this function takes orientation, but not margins into consideration. See [gtk.page_setup.PageSetup.getPageWidth].

Parameters

unitthe unit for the return value

Returns

the paper width.