Struct ashpd::desktop::print::PageSetup [−][src]
pub struct PageSetup { pub ppdname: Option<String>, pub name: Option<String>, pub display_name: Option<String>, pub width: Option<f64>, pub height: Option<f64>, pub margin_top: Option<f64>, pub margin_bottom: Option<f64>, pub margin_right: Option<f64>, pub margin_left: Option<f64>, pub orientation: Option<Orientation>, }
Expand description
Setup the printed pages.
Fields
ppdname: Option<String>
the PPD name. It’s the name to select a given driver.
name: Option<String>
The name of the page setup.
display_name: Option<String>
The user-visible name of the page setup.
width: Option<f64>
Paper width in millimeters.
height: Option<f64>
Paper height in millimeters.
margin_top: Option<f64>
Top margin in millimeters.
margin_bottom: Option<f64>
Bottom margin in millimeters.
margin_right: Option<f64>
Right margin in millimeters.
margin_left: Option<f64>
Left margin in millimeters.
orientation: Option<Orientation>
The page orientation.
Implementations
Sets the user visible name of the page setup.
Sets the orientation.
Sets the page top margin.
Sets the page bottom margin.
Sets the page right margin.
Sets the page margin left.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PageSetup
impl UnwindSafe for PageSetup