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

Required Methods§

source

fn Orientation( &self, orientation: *mut COREWEBVIEW2_PRINT_ORIENTATION, ) -> Result<()>

source

fn SetOrientation( &self, orientation: COREWEBVIEW2_PRINT_ORIENTATION, ) -> Result<()>

source

fn ScaleFactor(&self, scalefactor: *mut f64) -> Result<()>

source

fn SetScaleFactor(&self, scalefactor: f64) -> Result<()>

source

fn PageWidth(&self, pagewidth: *mut f64) -> Result<()>

source

fn SetPageWidth(&self, pagewidth: f64) -> Result<()>

source

fn PageHeight(&self, pageheight: *mut f64) -> Result<()>

source

fn SetPageHeight(&self, pageheight: f64) -> Result<()>

source

fn MarginTop(&self, margintop: *mut f64) -> Result<()>

source

fn SetMarginTop(&self, margintop: f64) -> Result<()>

source

fn MarginBottom(&self, marginbottom: *mut f64) -> Result<()>

source

fn SetMarginBottom(&self, marginbottom: f64) -> Result<()>

source

fn MarginLeft(&self, marginleft: *mut f64) -> Result<()>

source

fn SetMarginLeft(&self, marginleft: f64) -> Result<()>

source

fn MarginRight(&self, marginright: *mut f64) -> Result<()>

source

fn SetMarginRight(&self, marginright: f64) -> Result<()>

source

fn ShouldPrintBackgrounds( &self, shouldprintbackgrounds: *mut BOOL, ) -> Result<()>

source

fn SetShouldPrintBackgrounds(&self, shouldprintbackgrounds: BOOL) -> Result<()>

source

fn ShouldPrintSelectionOnly( &self, shouldprintselectiononly: *mut BOOL, ) -> Result<()>

source

fn SetShouldPrintSelectionOnly( &self, shouldprintselectiononly: BOOL, ) -> Result<()>

source

fn ShouldPrintHeaderAndFooter( &self, shouldprintheaderandfooter: *mut BOOL, ) -> Result<()>

source

fn SetShouldPrintHeaderAndFooter( &self, shouldprintheaderandfooter: BOOL, ) -> Result<()>

source

fn HeaderTitle(&self, headertitle: *mut PWSTR) -> Result<()>

source

fn SetHeaderTitle(&self, headertitle: &PCWSTR) -> Result<()>

source

fn FooterUri(&self, footeruri: *mut PWSTR) -> Result<()>

source

fn SetFooterUri(&self, footeruri: &PCWSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§