Table of Contents

Class ForegroundStyle

Namespace
ScanbotSDK.MAUI.Common
Assembly
ScanbotSDK.Shared.dll

Configuration of the appearance of foreground elements (e.g. text and/or icons on buttons, etc).

public class ForegroundStyle
Inheritance
ForegroundStyle
Inherited Members

Properties

Color

Color used for foreground elements. Default is "#FFFFFF"

public ColorValue Color { get; set; }

Property Value

ColorValue

IconVisible

Whether the icon is visible. Default is true

public bool IconVisible { get; set; }

Property Value

bool

UseShadow

Whether to use drop shadows for foreground elements. Default is false

public bool UseShadow { get; set; }

Property Value

bool

Methods

FromJson(string)

public static ForegroundStyle FromJson(string rawJson)

Parameters

rawJson string

Returns

ForegroundStyle

FromNative(ForegroundStyle)

public static ForegroundStyle FromNative(ForegroundStyle source)

Parameters

source ForegroundStyle

Returns

ForegroundStyle

ToNative()

public ForegroundStyle ToNative()

Returns

ForegroundStyle