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§
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 HeaderTitle(&self, headertitle: *mut PWSTR) -> Result<()>
fn SetHeaderTitle(&self, headertitle: &PCWSTR) -> Result<()>
Object Safety§
This trait is not object safe.