webview2_com::Microsoft::Web::WebView2::Win32

Trait ICoreWebView2PrintSettings_Impl

Source
pub trait ICoreWebView2PrintSettings_Impl: IUnknownImpl {
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>;
}

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

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§