PaperSize.from_ipp


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.16" ) ]
public PaperSize.from_ipp (string ipp_name, double width, double height)

Creates a new PaperSize object by using IPP information.

If ipp_name is not a recognized paper name, width and height are used to construct a custom PaperSize object.

Parameters:

ipp_name

an IPP paper name

width

the paper width, in points

height

the paper height in points

Returns:

a new PaperSize, use free to free it