IDAutomation.MSIPlessey
jdubs edited this page Oct 23, 2016
·
1 revision
The MSI barcode option is specified in IDAutomation Barcode Fonts, Components and Applications to create an MSI Plessey barcode, which includes only numbers.
http://www.idautomation.com/barcode/msi.html
SpecName (constant) The variable containing the input to be converted. Proper UPC font must be applied in the template.
ErrorMessage (multiple | optional) The error message to return when any error occurs.
public static void MSIPlessey(string SpecName, object ErrorMessage)
{
Actions.Break();
try
{
string code = Actions.Variable(SpecName).Value;
Actions.Variable(SpecName).Value = CallFontEncoder("MSI", new object[] { code, 0 });
}
catch (Exception ex)
{
throw new Actions.Four51ActionsException(ex.Message, (string)ErrorMessage);
}
}