PageSetup.getPaperWidth

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.

class PageSetup
double
getPaperWidth

Parameters

unit gtk.types.Unit

the unit for the return value

Return Value

Type: double

the paper width.