Table of Contents

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

AspectRatio

MinimumInsets

The minimum insets of the viewfinder.

public EdgeInsets MinimumInsets { get; set; }

Property Value

EdgeInsets

OverlayColor

The color of the viewfinder overlay.

Default is "?sbColorSurfaceLow"

public ColorValue OverlayColor { get; set; }

Property Value

ColorValue

PreferredHeight

The preferred height of the viewfinder.

Default is -1.0

public double PreferredHeight { get; set; }

Property Value

double

Style

The visual appearance of the viewfinder.

public FinderStyle Style { get; set; }

Property Value

FinderStyle

Methods

FromJson(string)

public static BaseViewFinderConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

BaseViewFinderConfiguration