PageSetup.getPageWidth

Returns the page width in units of @unit.

Note that this function takes orientation and margins into consideration. See gtk_page_setup_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

Since

2.10