PageSetup.getPageWidth

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].

class PageSetup
double
getPageWidth
(
GtkUnit unit
)

Parameters

unit GtkUnit

the unit for the return value

Return Value

Type: double

the page width.

Meta