Label Field Definition Builder
Defined in namespace Scandit.DataCapture.Label.Capture
- LabelFieldDefinitionBuilder
abstract class LabelFieldDefinitionBuilder<BuilderType, FieldType>
Added in version 8.1.0
Abstract base class for field definition builders. Provides common functionality for configuring field properties such as regexes, optional status, and hidden properties.
- SetValueRegexes()
BuilderTypeSetValueRegexes(IList<string> valueRegexes)Added in version 8.1.0
Sets the regexes used for content validation from a collection of strings.
- SetValueRegex()
BuilderTypeSetValueRegex(stringvalueRegex)Added in version 8.1.0
Sets a regular expression for content validation.
- SetValueRegex()
BuilderTypeSetValueRegex(Regex valueRegex)Added in version 8.1.0
Sets a regular expression for content validation.
- SetHiddenProperty()
BuilderTypeSetHiddenProperty(stringkey,objectvalue)Added in version 8.1.0
- SetHiddenProperties()
BuilderTypeSetHiddenProperties(IDictionary<string,object> hiddenProperties)Added in version 8.1.0
- IsOptional()
BuilderTypeIsOptional(booloptional)Added in version 8.1.0
- SetNumberOfMandatoryInstances()
BuilderTypeSetNumberOfMandatoryInstances(intnumberOfMandatoryInstances)Added in version 8.1.0
The minimum number of instances of this field that must be captured for the label to be considered complete. This is useful for fields that may appear multiple times on a label, such as multiple serial numbers or repeated information.
- Build()
abstract
FieldTypeBuild(stringname)Added in version 8.1.0
Creates a field definition with the specified name and all configured properties.