Menu

Barcode .NET Control Types


Barcodes.Barcode Namespace

Barcodes.Barcode.dll assembly
 
Code128CharSets
	public enum Code128CharSets
	{
		C128Auto = 0,	//Auto
		C128A    = 1,	//Code 128 charset A
		C128B    = 2,	//Code 128 charset B
		C128C    = 3,	//Code 128 charset C
	};
Remarks
C128Auto - The most optimal character set or their combination is selected. Thanks to changing character sets, the most optimal barcode size is achieved.



BarcodeTypes
	public enum BarcodeTypes
	{
		Interl25  = 0,	//Interleaved 2 of 5
		Industr25 = 1,	//Industrial 2 of 5
		Code39    = 2,	//Code 39
		Code39Ext = 3,	//Code 39 Extended
		Code11    = 4,	//Code 11
		Codabar   = 5,	//Codabar
		MSI       = 6,	//MSI
		Code128   = 7,	//Code 128
		EANAdd2   = 8,	//EAN-Addon 2
		EANAdd5   = 9,	//EAN-Addon 5
		EAN8      = 10,	//EAN-8
		EAN13     = 11,	//EAN-13
		EAN14     = 12,	//EAN-14
		UPCA      = 13,	//UPC-A
		UPCE      = 14,	//UPC-E
		UCCEAN128 = 15,	//UCC EAN 128
		SSCC18    = 16,	//SSCC18
		PostNet   = 17,	//PostNet
		PlaNet    = 18,	//PlaNet
		Code93    = 19,	//Code 93
		Code93Ext = 20,	//Code 93 Extended
		ITF14     = 21,	//ITF-14
	};



BarAlignment
	public enum BarAlignment
	{
		BarLeft   = 0,	//Left
		BarRight  = 1,	//Right
		BarCenter = 2,	//Center
	};



Orientations
	public enum Orientations
	{
		g0   = 0,   //0
		g90  = 90,  //90
		g180 = 180, //180
		g270 = 270  //270
	};



TextAlignment
	public enum TextAlignment
	{
		TxtLeft   = 0,  //Left
		TxtRight  = 1,  //Right
		TxtCenter = 2,  //Center
		TxtFull   = 3,  //Full
		TxtEAN1   = 4,  //EAN1
		TxtEAN2   = 5,  //EAN2
		TxtEAN3   = 6   //EAN3
	};
Remarks
The EAN1, EAN2 and EAN3 values are only valid for EAN and UPC symbologies.



Dimensions
	public enum Dimensions
	{
		dmMils   = 0,	//Mils
		dmInches = 1,	//Inches
		dmMM     = 2,	//Millimeters
		dmPixels = 3,	//Pixels
	};



ErrorCodes
	public enum ErrorCodes
	{
		EC_OK                   = 0,  //Ok
		EC_FAIL                 = 1,  //fail
		EC_INVALIDARG           = 2,  //invalid argument
		EC_INVALIDDATATOENCODE  = 3,  //invalid BarText property
		EC_INVALIDSIZE          = 4,  //invalid bar code size
	};