Table of Contents

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

AspectRatio

OverlayColor

Color of the viewfinder overlay. Default is "?sbColorSurfaceLow"

public ColorValue OverlayColor { get; set; }

Property Value

ColorValue

Style

Visual appearance of the viewfinder.

public FinderStyle Style { get; set; }

Property Value

FinderStyle

Visible

Whether the viewfinder is visible. Default is true

public bool Visible { get; set; }

Property Value

bool

Methods

FromJson(string)

public static ViewFinderConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

ViewFinderConfiguration

FromNative(ViewFinderConfiguration)

public static ViewFinderConfiguration FromNative(ViewFinderConfiguration source)

Parameters

source ViewFinderConfiguration

Returns

ViewFinderConfiguration

ToNative()

public ViewFinderConfiguration ToNative()

Returns

ViewFinderConfiguration