C# and VB.NET Expression Builder
The C# and VB.NET expression builders allow for the building and saving of an expression, to be used at scan time for the dynamic population of a metadata field.
By defining a metadata field as Expression (C# or vB.NET), you can use a subset of the C# or VB.NET programming languages to determine the ultimate value of the field.
The Expression Builder button appears when a metadata field of the correct type is selected. By clicking this button, you display the Expression Builder window, described below.
The Expression Builder window is split into three sections:
-The top expression section, in which the expression is built.
-The bottom left tree, in which you can select between the Metadata and IDCard MRZ.
-The bottom right list, in which the selected reference list is displayed.
By referring to the reference lists, you can build an expression to return a value; it is this value that will populate the metadata field to which this script is linked.
While creating your expression, if an error occurs, Scan2x will highlight where the error is in the expression.