get_page_width


Description:

[ Version ( since = "2.10" ) ]
public double get_page_width (Unit unit)

Returns the page width in units of unit.

Note that this function takes orientation and margins into consideration. See get_paper_width.

Parameters:

this

a PageSetup

unit

the unit for the return value

Returns:

the page width.