PageSetup.getPageWidth

Returns the page width in units of unit.

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

class PageSetup
double
getPageWidth

Parameters

unit gtk.types.Unit

the unit for the return value

Return Value

Type: double

the page width.