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
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
PreferredHeight
The preferred height of the viewfinder.
Default is -1.0
public double PreferredHeight { 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
rawJson
string