pub trait IImageScannerSourceConfiguration_Impl: Sized + IImageScannerFormatConfiguration_Impl {
Show 29 methods
// Required methods
fn MinScanArea(&self) -> Result<Size>;
fn MaxScanArea(&self) -> Result<Size>;
fn SelectedScanRegion(&self) -> Result<Rect>;
fn SetSelectedScanRegion(&self, value: &Rect) -> Result<()>;
fn AutoCroppingMode(&self) -> Result<ImageScannerAutoCroppingMode>;
fn SetAutoCroppingMode(
&self,
value: ImageScannerAutoCroppingMode,
) -> Result<()>;
fn IsAutoCroppingModeSupported(
&self,
value: ImageScannerAutoCroppingMode,
) -> Result<bool>;
fn MinResolution(&self) -> Result<ImageScannerResolution>;
fn MaxResolution(&self) -> Result<ImageScannerResolution>;
fn OpticalResolution(&self) -> Result<ImageScannerResolution>;
fn DesiredResolution(&self) -> Result<ImageScannerResolution>;
fn SetDesiredResolution(&self, value: &ImageScannerResolution) -> Result<()>;
fn ActualResolution(&self) -> Result<ImageScannerResolution>;
fn DefaultColorMode(&self) -> Result<ImageScannerColorMode>;
fn ColorMode(&self) -> Result<ImageScannerColorMode>;
fn SetColorMode(&self, value: ImageScannerColorMode) -> Result<()>;
fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> Result<bool>;
fn MinBrightness(&self) -> Result<i32>;
fn MaxBrightness(&self) -> Result<i32>;
fn BrightnessStep(&self) -> Result<u32>;
fn DefaultBrightness(&self) -> Result<i32>;
fn Brightness(&self) -> Result<i32>;
fn SetBrightness(&self, value: i32) -> Result<()>;
fn MinContrast(&self) -> Result<i32>;
fn MaxContrast(&self) -> Result<i32>;
fn ContrastStep(&self) -> Result<u32>;
fn DefaultContrast(&self) -> Result<i32>;
fn Contrast(&self) -> Result<i32>;
fn SetContrast(&self, value: i32) -> Result<()>;
}
Required Methods§
fn MinScanArea(&self) -> Result<Size>
fn MaxScanArea(&self) -> Result<Size>
fn SelectedScanRegion(&self) -> Result<Rect>
fn SetSelectedScanRegion(&self, value: &Rect) -> Result<()>
fn AutoCroppingMode(&self) -> Result<ImageScannerAutoCroppingMode>
fn SetAutoCroppingMode(&self, value: ImageScannerAutoCroppingMode) -> Result<()>
fn IsAutoCroppingModeSupported( &self, value: ImageScannerAutoCroppingMode, ) -> Result<bool>
fn MinResolution(&self) -> Result<ImageScannerResolution>
fn MaxResolution(&self) -> Result<ImageScannerResolution>
fn OpticalResolution(&self) -> Result<ImageScannerResolution>
fn DesiredResolution(&self) -> Result<ImageScannerResolution>
fn SetDesiredResolution(&self, value: &ImageScannerResolution) -> Result<()>
fn ActualResolution(&self) -> Result<ImageScannerResolution>
fn DefaultColorMode(&self) -> Result<ImageScannerColorMode>
fn ColorMode(&self) -> Result<ImageScannerColorMode>
fn SetColorMode(&self, value: ImageScannerColorMode) -> Result<()>
fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> Result<bool>
fn MinBrightness(&self) -> Result<i32>
fn MaxBrightness(&self) -> Result<i32>
fn BrightnessStep(&self) -> Result<u32>
fn DefaultBrightness(&self) -> Result<i32>
fn Brightness(&self) -> Result<i32>
fn SetBrightness(&self, value: i32) -> Result<()>
fn MinContrast(&self) -> Result<i32>
fn MaxContrast(&self) -> Result<i32>
fn ContrastStep(&self) -> Result<u32>
fn DefaultContrast(&self) -> Result<i32>
fn Contrast(&self) -> Result<i32>
fn SetContrast(&self, value: i32) -> Result<()>
Object Safety§
This trait is not object safe.