Packing Date Text Builder
Defined under the namespace Scandit.Datacapture.Label
- PackingDateTextBuilder
class PackingDateTextBuilder : TextFieldBuilder<PackingDateTextBuilder, PackingDateText>
Added in version 7.2.0
This class is used to define a packing date field for a LabelDefinition in a fluent way.
- setDataTypePatterns(dataTypePatterns)
setDataTypePatterns(dataTypePatterns: string[]):
this
Added in version 7.2.0
Sets the identifying text patterns (data type patterns) from a single string.
- setDataTypePattern(dataTypePattern)
setDataTypePattern(dataTypePattern: string):
this
Added in version 7.2.0
Sets the identifying text patterns (data type patterns) from a single regular expression.
- resetDataTypePatterns()
resetDataTypePatterns():
this
Added in version 7.2.0
Resets the identifying text patterns (data type patterns) to an empty list. For cases where the expiry date has no associated identifying text.
- setLabelDateFormat(labelDateFormat)
setLabelDateFormat(labelDateFormat: LabelDateFormat):
this
Added in version 7.2.0
Sets a LabelDateFormat to use when recognising this date.
- build(name)
build(name: string): Promise<PackingDateText>
Added in version 7.2.0
Builds the PackingDateText using the properties provided previously with other methods.