Data Capture Context Settings#

Defined in namespace Scandit.Datacapture.Core

DataCaptureContextSettings#
class DataCaptureContextSettings

Added in version 6.7.0

Holds settings related to the data capture context.

DataCaptureContextSettings()#
DataCaptureContextSettings()

Added in version 6.7.0

Creates a new settings object with the default values.

GetProperty()#
object GetProperty(string name)

Added in version 6.7.0

Retrieves the value of a previously set property. In case the property does not exist, null is returned.

SetProperty()#
void SetProperty(string name, object value)

Added in version 6.7.0

Sets a property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.

GetProperty()#
T GetProperty<T>(string name)

Added in version 6.7.0

Retrieves the value of a previously set property. In case the property does not exist, an ArgumentException is thrown.

TryGetProperty()#
bool TryGetProperty<T>(string name, out T result)

Added in version 6.7.0

The non-throwing version of the method GetProperty(). It retrieves the value of a previously set property as the second passed argument and returns true. In case the property does not exist, false will be returned.