Weight Text
Defined in namespace Scandit.DataCapture.Label
- WeightText
class WeightText : ITextField
Added in version 7.5.0
A specialized text field for capturing weight information from labels. This predefined field type is optimized for recognizing weight values typically found on product packaging, shipping labels, and inventory tags.
Use the builder pattern with WeightTextBuilder for convenient configuration.
- Name
stringName { get; }Added in version 7.5.0
The name of this field definition, used to identify it within the label definition.
- Patterns
IList<
string> Patterns { get; }Added in version 7.5.0
The regex patterns that identify the target string in the scanned content.
- Optional
boolOptional { get; }Added in version 7.5.0
Whether the field is optional or mandatory. This is helpful when certain fields may not be present on every scan.
- DataTypePatterns
IList<
string> DataTypePatterns { get; }Added in version 7.5.0
Used to specify keywords or phrases that help identify the context of the field. This is particularly useful when the label contains multiple fields that could match the same pattern (e.g., when both packaging and expiry dates are present).