PaperSize


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public PaperSize (string? name)

Creates a new PaperSize object by parsing a [PWG 5101.1-2002](ftp://ftp.

pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf) paper name.

If name is null, the default paper size is returned, see paper_size_get_default.

Parameters:

name

a paper size name, or null

Returns:

a new PaperSize, use free to free it