Id Capture Settings#

Defined in namespace Scandit.Datacapture.Id

IdCaptureSettings#
class IdCaptureSettings

Added in version 6.9.0

Settings to configure an IdCapture instance.

IdCaptureSettings()#
IdCaptureSettings()

Added in version 6.9.0

Creates a new default settings.

GetShouldPassImageTypeToResult()#
bool GetShouldPassImageTypeToResult(IdImageType type)

Added in version 6.9.0

Gets whether an IdCapture created with these settings should extract an image (specified by the given type) from recognized documents and return it as part of CapturedId. Note that the image may still not be returned, for example, if it’s not present in a document or if it’s not recognized. Default is false.

SetShouldPassImageTypeToResult()#
void SetShouldPassImageTypeToResult(IdImageType type, bool shouldPass)

Added in version 6.9.0

Sets whether an IdCapture created with these settings should extract an image (specified by the given type) from recognized documents and return it as part of CapturedId. Note that the image may still not be returned, for example, if it’s not present in a document or if it’s not recognized. Default is false.

SupportedDocuments#
IdDocumentType SupportedDocuments { get;set; }

Added in version 6.9.0

The types of personal identification documents that IdCapture configured with these settings is able to scan.

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

Added in version 6.9.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 change in a future release.

GetProperty()#
object GetProperty(string name)

Added in version 6.9.0

Retrieves the value of a previously set property. In case the property does not exist, null is returned. Use this method to get properties that are not yet part of a stable API. These properties may change in a future release.

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

Added in version 6.9.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.9.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.

SupportedSides#
SupportedSides SupportedSides { get;set; }

Added in version 6.9.0

The sides of personal identification documents that IdCapture configured with these settings is able to scan. This setting is relevant only for SupportedDocuments of type IdDocumentType.DlViz and IdDocumentType.IdCardViz, otherwise it is ignored. The default is SupportedSides.FrontOnly.