Class ViewFinderConfiguration
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Configuration of the scanning interface's viewfinder, serving as guidance to the user.
public class ViewFinderConfiguration
- Inheritance
-
ViewFinderConfiguration
- Inherited Members
Properties
AspectRatio
The viewfinder's aspect ratio.
public AspectRatio AspectRatio { get; set; }
Property Value
OverlayColor
Color of the viewfinder overlay. Default is "?sbColorSurfaceLow"
public ColorValue OverlayColor { get; set; }
Property Value
Style
Visual appearance of the viewfinder.
public FinderStyle Style { get; set; }
Property Value
Visible
Whether the viewfinder is visible. Default is true
public bool Visible { get; set; }
Property Value
Methods
FromJson(string)
public static ViewFinderConfiguration FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(ViewFinderConfiguration)
public static ViewFinderConfiguration FromNative(ViewFinderConfiguration source)
Parameters
source
ViewFinderConfiguration
Returns
ToNative()
public ViewFinderConfiguration ToNative()