PaperSize
GtkPaperSize
handles paper sizes.
It uses the standard called PWG 5101.1-2002 PWG: Standard for Media Standardized Names to name the paper sizes (and to get the data for the page sizes). In addition to standard paper sizes, GtkPaperSize
allows to construct custom paper sizes with arbitrary dimensions.
The GtkPaperSize
object stores not only the dimensions (width and height) of a paper size and its name, it also provides default print margins.
Constructors
Functions
Gets the default bottom margin for the GtkPaperSize
.
Gets the default left margin for the GtkPaperSize
.
Gets the default right margin for the GtkPaperSize
.
Gets the default top margin for the GtkPaperSize
.
Gets the human-readable name of the GtkPaperSize
.
Gets the PPD name of the GtkPaperSize
, which may be null.
Serialize a paper size to an a{sv}
variant.