pub trait ICoreWebView2PrintSettings_Impl: Sized {
Show 26 methods
// Required methods
fn Orientation(
&self,
orientation: *mut COREWEBVIEW2_PRINT_ORIENTATION
) -> Result<(), Error>;
fn SetOrientation(
&self,
orientation: COREWEBVIEW2_PRINT_ORIENTATION
) -> Result<(), Error>;
fn ScaleFactor(&self, scalefactor: *mut f64) -> Result<(), Error>;
fn SetScaleFactor(&self, scalefactor: f64) -> Result<(), Error>;
fn PageWidth(&self, pagewidth: *mut f64) -> Result<(), Error>;
fn SetPageWidth(&self, pagewidth: f64) -> Result<(), Error>;
fn PageHeight(&self, pageheight: *mut f64) -> Result<(), Error>;
fn SetPageHeight(&self, pageheight: f64) -> Result<(), Error>;
fn MarginTop(&self, margintop: *mut f64) -> Result<(), Error>;
fn SetMarginTop(&self, margintop: f64) -> Result<(), Error>;
fn MarginBottom(&self, marginbottom: *mut f64) -> Result<(), Error>;
fn SetMarginBottom(&self, marginbottom: f64) -> Result<(), Error>;
fn MarginLeft(&self, marginleft: *mut f64) -> Result<(), Error>;
fn SetMarginLeft(&self, marginleft: f64) -> Result<(), Error>;
fn MarginRight(&self, marginright: *mut f64) -> Result<(), Error>;
fn SetMarginRight(&self, marginright: f64) -> Result<(), Error>;
fn ShouldPrintBackgrounds(
&self,
shouldprintbackgrounds: *mut BOOL
) -> Result<(), Error>;
fn SetShouldPrintBackgrounds(
&self,
shouldprintbackgrounds: BOOL
) -> Result<(), Error>;
fn ShouldPrintSelectionOnly(
&self,
shouldprintselectiononly: *mut BOOL
) -> Result<(), Error>;
fn SetShouldPrintSelectionOnly(
&self,
shouldprintselectiononly: BOOL
) -> Result<(), Error>;
fn ShouldPrintHeaderAndFooter(
&self,
shouldprintheaderandfooter: *mut BOOL
) -> Result<(), Error>;
fn SetShouldPrintHeaderAndFooter(
&self,
shouldprintheaderandfooter: BOOL
) -> Result<(), Error>;
fn HeaderTitle(&self, headertitle: *mut PWSTR) -> Result<(), Error>;
fn SetHeaderTitle(&self, headertitle: &PCWSTR) -> Result<(), Error>;
fn FooterUri(&self, footeruri: *mut PWSTR) -> Result<(), Error>;
fn SetFooterUri(&self, footeruri: &PCWSTR) -> Result<(), Error>;
}