Class ScannerConfigurationBase
- Namespace
- ScanbotSDK.MAUI
- Assembly
- DocumentSDK.MAUI.dll
public class ScannerConfigurationBase
- Inheritance
-
ScannerConfigurationBase
- Derived
- Inherited Members
Properties
AcceptedAngleScore
The minimum score in percent (0 - 100) of the perspective distortion to accept a detected document. Default is 75.0. Set lower values to accept more perspective distortion. Warning: Lower values result in more blurred document images.
public double? AcceptedAngleScore { get; set; }
Property Value
AcceptedBrightnessThreshold
The brightness threshold to accept a detected document in the range of 0 (very dark) to 255 (very bright). If the average brightness value of the detectors input image is below this value, the status of the detection will be set to [SBSDKDocumentDetectionStatus.ErrorBrightness]
Minimum value: 0, maximum value: 255. Defaults to 50.
public int? AcceptedBrightnessThreshold { get; set; }
Property Value
- int?
AcceptedSizeScore
The minimum size in percent (0 - 100) of the screen size to accept a detected document. It is sufficient that height or width match the score. Default is 80.0. Warning: Lower values result in low resolution document images.
public double? AcceptedSizeScore { get; set; }
Property Value
AutoSnappingEnabled
Whether auto-snapping is enabled or not.
public bool? AutoSnappingEnabled { get; set; }
Property Value
- bool?
AutoSnappingSensitivity
The sensivity of auto-snapping. Values are clamped to the range 0.0 - 1.0. A value of 1.0 triggers automatic snapping immediately, a value of 0.0 delays the automatic by 3 seconds.
public double? AutoSnappingSensitivity { get; set; }
Property Value
CameraBackgroundColor
Background color of the camera view. *
public Color CameraBackgroundColor { get; set; }
Property Value
CameraModule
Set supported camera module. Optional.By default is [CameraModule.Back] The enum type [CameraModule.BackWidest] is iOS only, It will be considered [CameraModule.Back] for Android.
public CameraModule? CameraModule { get; set; }
Property Value
CameraPreviewMode
The video layers content mode.
public CameraPreviewMode? CameraPreviewMode { get; set; }
Property Value
CancelButtonTitle
public string CancelButtonTitle { get; set; }
Property Value
DefaultPageFilter
The default image filter type for new documents pages. Defaults to SBSDKImageFilterTypeNone. // setImageFilterType
public ImageFilter? DefaultPageFilter { get; set; }
Property Value
DocumentImageSizeLimit
public Size? DocumentImageSizeLimit { get; set; }
Property Value
- Size?
EnableCameraButtonTitle
public string EnableCameraButtonTitle { get; set; }
Property Value
EnableCameraExplanationText
public string EnableCameraExplanationText { get; set; }
Property Value
FlashButtonHidden
public bool? FlashButtonHidden { get; set; }
Property Value
- bool?
FlashEnabled
public bool? FlashEnabled { get; set; }
Property Value
- bool?
ForceUserGuidance
public bool? ForceUserGuidance { get; set; }
Property Value
- bool?
IgnoreBadAspectRatio
public bool? IgnoreBadAspectRatio { get; set; }
Property Value
- bool?
ImageScale
public double? ImageScale { get; set; }
Property Value
OrientationLockMode
Allowed orientations for automatic interface rotations. *
public OrientationLockMode? OrientationLockMode { get; set; }
Property Value
PhotoQualityPrioritization
The prioritization of still image quality and capturing speed. Defaults to CapturePhotoQualityPrioritization.BALANCED. If you experience lots of blurry still images try to set this property to CapturePhotoQualityPrioritization.QUALITY. Note: Has no effect on devices prior to iOS 13.0!. iOS only.
public CapturePhotoQualityPrioritization? PhotoQualityPrioritization { get; set; }
Property Value
PolygonBackgroundColor
public Color PolygonBackgroundColor { get; set; }
Property Value
PolygonBackgroundColorOK
public Color PolygonBackgroundColorOK { get; set; }
Property Value
PolygonColor
public Color PolygonColor { get; set; }
Property Value
PolygonColorOK
public Color PolygonColorOK { get; set; }
Property Value
PolygonCornerRadius
The radius to use when drawing rounded corners of the detected documents polygon. Default is 8.0.
public int? PolygonCornerRadius { get; set; }
Property Value
- int?
PolygonLineWidth
public int? PolygonLineWidth { get; set; }
Property Value
- int?
ShutterButtonAutoInnerColor
public Color ShutterButtonAutoInnerColor { get; set; }
Property Value
ShutterButtonAutoOuterColor
public Color ShutterButtonAutoOuterColor { get; set; }
Property Value
ShutterButtonHidden
public bool? ShutterButtonHidden { get; set; }
Property Value
- bool?
ShutterButtonManualInnerColor
public Color ShutterButtonManualInnerColor { get; set; }
Property Value
ShutterButtonManualOuterColor
public Color ShutterButtonManualOuterColor { get; set; }
Property Value
ShutterSoundEnabled
public bool? ShutterSoundEnabled { get; set; }
Property Value
- bool?
TextHintBadAngles
public string TextHintBadAngles { get; set; }
Property Value
TextHintBadAspectRatio
public string TextHintBadAspectRatio { get; set; }
Property Value
TextHintNothingDetected
The text being displayed on the user-guidance label, when no document was detected.
public string TextHintNothingDetected { get; set; }
Property Value
TextHintOK
The text being displayed on the user-guidance label, when a document was detected with good conditions.
public string TextHintOK { get; set; }
Property Value
TextHintTooDark
The text being displayed on the user-guidance label, when no document was detected becasue the image is too dark.
public string TextHintTooDark { get; set; }
Property Value
TextHintTooNoisy
The text being displayed on the user-guidance label, when no document was detected because of image noise.
public string TextHintTooNoisy { get; set; }
Property Value
TextHintTooSmall
The text being displayed on the user-guidance label, when a document was detected, but the documents area is too small compared to the image area.
public string TextHintTooSmall { get; set; }
Property Value
TopBarBackgroundColor
Background color of the top bar.
public Color TopBarBackgroundColor { get; set; }
Property Value
TopBarButtonsActiveColor
Foreground color of enabled items in the top bar.
public Color TopBarButtonsActiveColor { get; set; }
Property Value
TopBarButtonsInactiveColor
Foreground color of disabled items in the top bar.
public Color TopBarButtonsInactiveColor { get; set; }
Property Value
TouchToFocusEnabled
Controls whether the touch to focus feature should be enabled. Default is true
.
public bool? TouchToFocusEnabled { get; set; }
Property Value
- bool?
UseButtonsAllCaps
Controls whether buttons should use all capitals style.
public bool? UseButtonsAllCaps { get; set; }
Property Value
- bool?
UserGuidanceBackgroundColor
Background color of the user guidance label.
public Color UserGuidanceBackgroundColor { get; set; }
Property Value
UserGuidanceTextColor
Foreground/text color of the user guidance label.
public Color UserGuidanceTextColor { get; set; }