PaperSize.from_ppd
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height)
[ Version ( since = "2.10" ) ]
public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height)
Creates a new PaperSize object by using PPD information.
If ppd_name
is not a recognized PPD paper name, ppd_display_name
, width
and height
are used
to construct a custom PaperSize object.
Parameters:
ppd_name |
a PPD paper name |
ppd_display_name |
the corresponding human-readable name |
width |
the paper width, in points |
height |
the paper height in points |