Class BaseViewFinderConfiguration
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Base configuration of the scanning interface’s viewfinder, serving as guidance to the user.
[JsonPolymorphic(TypeDiscriminatorPropertyName = "_type")]
[JsonDerivedType(typeof(ViewFinderConfiguration), "ViewFinderConfiguration")]
[JsonDerivedType(typeof(PermanentViewFinderConfiguration), "PermanentViewFinderConfiguration")]
public class BaseViewFinderConfiguration
- Inheritance
-
BaseViewFinderConfiguration
- Derived
- Inherited Members
Properties
AspectRatio
The viewfinder's aspect ratio.
public AspectRatio AspectRatio { get; set; }
Property Value
MaxHeight
The maximum height of the viewfinder.
Default is -1.0.
public double MaxHeight { get; set; }
Property Value
MaxWidth
The maximum width of the viewfinder.
Default is -1.0.
public double MaxWidth { get; set; }
Property Value
MinimumInsets
The minimum insets of the viewfinder.
public EdgeInsets MinimumInsets { get; set; }
Property Value
OverlayColor
The color of the viewfinder overlay.
Default is "?sbColorSurfaceLow"
public ColorValue OverlayColor { get; set; }
Property Value
Style
The visual appearance of the viewfinder.
public FinderStyle Style { get; set; }
Property Value
Methods
FromJson(string)
public static BaseViewFinderConfiguration FromJson(string rawJson)
Parameters
rawJsonstring