Skip to content

IDAutomation.Code93

jdubs edited this page Oct 23, 2016 · 1 revision

Table of Contents

Overview

The Code93 barcode option is specified in IDAutomation Barcode Fonts, Components and Applications to create a Code 93 barcode, which includes numbers and uppercase letters.

Reference

http://www.idautomation.com/barcode/code-93.html

Parameters

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.

Source Code

public static void Code93(string SpecName, object ErrorMessage)
{
	Actions.Break();
	try
	{
		string code = Actions.Variable(SpecName).Value;
		Actions.Variable(SpecName).Value = CallFontEncoder("Code93", new object[] { code });
	}
	catch (Exception ex)
	{
		throw new Actions.Four51ActionsException(ex.Message, (string)ErrorMessage);
	}
}

Clone this wiki locally