IDAutomation.Codabar

jdubs edited this page Oct 23, 2016 · 1 revision

Table of Contents

Overview

The Codabar barcode option is specified in IDAutomation Barcode Fonts, Components and Applications to create a Codabar Barcode, which is a symbology that easily encodes numbers without the requirement of check characters.

Reference

http://www.idautomation.com/barcode/codabar.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

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

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.