PaperSize.custom


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public PaperSize.custom (string name, string display_name, double width, double height, Unit unit)

Creates a new PaperSize object with the given parameters.

Parameters:

name

the paper name

display_name

the human-readable name

width

the paper width, in units of unit

height

the paper height, in units of unit

unit

the unit for width and height. not gtk_unit_none.

Returns:

a new PaperSize object, use free to free it