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_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

Since

2.10