Property AllowedValues
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
AllowedValues
Gets or sets a list of acceptable values for text extraction.
public List<string> AllowedValues { get; set; }
Property Value
Examples
var status = new TextExtractionElement("Status", ElementType.String);
status.Format.AllowedValues = new List<string> { "Pending", "Paid", "Cancelled" };
Remarks
Only applicable when ElementType is String
or StringArray
.
In JSON: use the "enum"
keyword (or a custom "allowedValues"
key) to specify these.