get_paper_width


Description:

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

Returns the paper width in units of unit.

Note that this function takes orientation, but not margins into consideration. See get_page_width.

Parameters:

this

a PageSetup

unit

the unit for the return value

Returns:

the paper width.