Expiry Date Text

Defined under the namespace Scandit.Datacapture.Label

ExpiryDateText
class ExpiryDateText : TextField

Added in version 7.2.0

This class is used to define an expiry date field in a LabelDefinition.

name
get name(): string

Added in version 7.2.0

Returns the name associated with this instance.

patterns
get patterns(): string[]

Added in version 7.2.0

Returns the list of patterns associated with this instance.

isOptional
get isOptional(): boolean

Added in version 7.2.0

Returns whether this instance is optional, i.e. whether it can be missing when parsing a label.

dataTypePatterns
get dataTypePatterns(): string[]

Added in version 7.2.0

Returns the identifying text patterns (data type patterns) associated with this instance.

dateFormat
get dateFormat(): LabelDateFormat | null

Added in version 7.2.0

Used to get and set the LabelDateFormat used to parse dates.