Trait ICoreWebView2PrintSettings_Impl

Source
pub trait ICoreWebView2PrintSettings_Impl: IUnknownImpl {
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<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§