PageSetup.getPaperWidth

Returns the paper width in units of @unit.

Note that this function takes orientation, but not margins into consideration. See [method@Gtk.PageSetup.get_page_width].

class PageSetup
double
getPaperWidth
(
GtkUnit unit
)

Parameters

unit GtkUnit

the unit for the return value

Return Value

Type: double

the paper width.

Meta