PageSetup.getPageWidth

double getPageWidth(gtk.types.Unit unit)

Returns the page width in units of unit.

Note that this function takes orientation and margins into consideration. See [gtk.page_setup.PageSetup.getPaperWidth].

Parameters

unitthe unit for the return value

Returns

the page width.