Skip to main content

ICoreWebView2PrintSettings_Impl

Trait ICoreWebView2PrintSettings_Impl 

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

Required Methods§

Source

fn Orientation(&self) -> Result<COREWEBVIEW2_PRINT_ORIENTATION>

Source

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

Source

fn ScaleFactor(&self) -> Result<f64>

Source

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

Source

fn PageWidth(&self) -> Result<f64>

Source

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

Source

fn PageHeight(&self) -> Result<f64>

Source

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

Source

fn MarginTop(&self) -> Result<f64>

Source

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

Source

fn MarginBottom(&self) -> Result<f64>

Source

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

Source

fn MarginLeft(&self) -> Result<f64>

Source

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

Source

fn MarginRight(&self) -> Result<f64>

Source

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

Source

fn ShouldPrintBackgrounds(&self) -> Result<BOOL>

Source

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

Source

fn ShouldPrintSelectionOnly(&self) -> Result<BOOL>

Source

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

Source

fn ShouldPrintHeaderAndFooter(&self) -> Result<BOOL>

Source

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

Source

fn HeaderTitle(&self) -> Result<PWSTR>

Source

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

Source

fn FooterUri(&self) -> Result<PWSTR>

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".

Implementors§