getPageWidth

open fun getPageWidth(unit: Unit): Double

Returns the page width in units of @unit.

Note that this function takes orientation and margins into consideration. See method@Gtk.PageSetup.get_paper_width.

Return

the page width.

Parameters

unit

the unit for the return value