PaperSize.newFromIpp

Creates a new gtk.paper_size.PaperSize object by using IPP information.

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

class PaperSize
static
newFromIpp
(
string ippName
,
double width
,
double height
)

Parameters

ippName string

an IPP paper name

width double

the paper width, in points

height double

the paper height in points

Return Value

Type: gtk.paper_size.PaperSize