PaperSize.setSize

void setSize(double width, double height, gtk.types.Unit unit)

Changes the dimensions of a size to width x height.

Parameters

widththe new width in units of unit
heightthe new height in units of unit
unitthe unit for width and height