EncodeTypes

EncodeTypes class

Specifies the type of barcode to encode.

The EncodeTypes type exposes the following members:

Properties

NameDescription
all_encode_typesSpecifies that data will be checked with all available symbologies.
NONEUnspecified encode type.
CODABARSpecifies that the data should be encoded with CODABAR barcode specification
CODE11Specifies that the data should be encoded with CODE 11 barcode specification
CODE39Specifies that the data should be encoded with Code 39 basic charset barcode specification: ISO/IEC 16388
CODE_39_FULL_ASCIISpecifies that the data should be encoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388
CODE93Specifies that the data should be encoded with CODE 93 barcode specification
CODE128Specifies that the data should be encoded with CODE 128 barcode specification
GS1_CODE_128Specifies that the data should be encoded with GS1 Code 128 barcode specification. The codetext must contains parentheses for AI.
EAN8Specifies that the data should be encoded with EAN-8 barcode specification
EAN13Specifies that the data should be encoded with EAN-13 barcode specification
EAN14Specifies that the data should be encoded with EAN14 barcode specification
SCC14Specifies that the data should be encoded with SCC14 barcode specification
SSCC18Specifies that the data should be encoded with SSCC18 barcode specification
UPCASpecifies that the data should be encoded with UPC-A barcode specification
UPCESpecifies that the data should be encoded with UPC-E barcode specification
ISBNSpecifies that the data should be encoded with ISBN barcode specification
ISSNSpecifies that the data should be encoded with ISSN barcode specification
ISMNSpecifies that the data should be encoded with ISMN barcode specification
STANDARD_2OF_5Specifies that the data should be encoded with Standard 2 of 5 barcode specification
INTERLEAVED_2OF_5Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification
MATRIX_2OF_5Represents Matrix 2 of 5 BarCode
ITALIAN_POST25Represents Italian Post 25 barcode.
IATA2OF_5Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo.
ITF14Specifies that the data should be encoded with ITF14 barcode specification
ITF6Represents ITF-6 Barcode.
MSISpecifies that the data should be encoded with MSI Plessey barcode specification
VINRepresents VIN (Vehicle Identification Number) Barcode.
DEUTSCHE_POST_IDENTCODERepresents Deutsch Post barcode, This Symbology is also known as Identcode,CodeIdentcode,German Postal 2 of 5 Identcode,
Deutsch Post AG Identcode, Deutsch Frachtpost Identcode, Deutsch Post AG (DHL)
DEUTSCHE_POST_LEITCODERepresents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).
OPCRepresents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.
PZNRepresents PZN barcode.This Symbology is also known as Pharmacy central number, Pharmazentralnummer. PZN7 and PZN8 are supported.
PZN7 is generated from 6 or less digits, like “123456”. PZN8 is generated from 7 or more digits, like “1234567”.
Provided last checksum digit is ignored and generated by the barcode engine.
CODE_16KRepresents Code 16K barcode.
PHARMACODERepresents Pharmacode barcode.
DATA_MATRIX2D barcode symbology DataMatrix
QRSpecifies that the data should be encoded with QR Code barcode specification
AZTECSpecifies that the data should be encoded with Aztec barcode specification
GS1_AZTECSpecifies that the data should be encoded with GS1 Aztec barcode specification. The codetext must contains parentheses for AI.
PDF417Specifies that the data should be encoded with Pdf417 barcode specification
MACRO_PDF417Specifies that the data should be encoded with MacroPdf417 barcode specification
GS1_DATA_MATRIX2D barcode symbology DataMatrix with GS1 string format
MICRO_PDF417Specifies that the data should be encoded with MicroPdf417 barcode specification
GS1_MICRO_PDF_417Specifies that the data should be encoded with GS1MicroPdf417 barcode specification
GS1QR2D barcode symbology QR with GS1 string format
MAXI_CODESpecifies that the data should be encoded with MaxiCode barcode specification
DOT_CODESpecifies that the data should be encoded with DotCode barcode specification
HAN_XINSpecifies that the data should be encoded with Han Xin barcode specification
GS1_HAN_XIN2D barcode symbology HanXin with GS1 string format
MICRO_QRSpecifies that the data should be encoded with MicroQR Code barcode specification
RECT_MICRO_QRSpecifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification
AUSTRALIA_POSTRepresents Australia Post Customer BarCode
POSTNETSpecifies that the data should be encoded with Postnet barcode specification
PLANETSpecifies that the data should be encoded with Planet barcode specification
ONE_CODESpecifies that the data should be encoded with USPS OneCode barcode specification
RM4SCCRepresents RM4SCC barcode. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.
MAILMARKRepresents Royal Mail Mailmark barcode.
DATABAR_OMNI_DIRECTIONALSpecifies that the data should be encoded with GS1 Databar omni-directional barcode specification.
DATABAR_TRUNCATEDSpecifies that the data should be encoded with GS1 Databar truncated barcode specification.
DATABAR_LIMITEDRepresents GS1 Databar limited barcode.
DATABAR_EXPANDEDRepresents GS1 Databar expanded barcode.
DATABAR_EXPANDED_STACKEDRepresents GS1 Databar expanded stacked barcode.
DATABAR_STACKEDRepresents GS1 Databar stacked barcode.
DATABAR_STACKED_OMNI_DIRECTIONALRepresents GS1 Databar stacked omni-directional barcode.
SINGAPORE_POSTSpecifies that the data should be encoded with Singapore Post Barcode barcode specification
AUSTRALIAN_POSTE_PARCELSpecifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification
SWISS_POST_PARCELSpecifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. Supported types: Domestic Mail, International Mail, Additional Services (new)
PATCH_CODERepresents Patch code barcode
CODE32Specifies that the data should be encoded with Code32 barcode specification
DATA_LOGIC_2OF_5Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification
DUTCH_KIXSpecifies that the data should be encoded with Dutch KIX barcode specification
UPCA_GS_1_CODE_128_COUPONSpecifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification.
An example of the input string:
BarcodeGenerator.Codetext = “514141100906(8102)03”,
where UPCA part is “514141100906”, GS1Code128 part is (8102)03.
UPCA_GS_1_DATABAR_COUPONSpecifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification.
An example of the input string:
BarcodeGenerator.Codetext = “514141100906(8110)106141416543213500110000310123196000”,
where UPCA part is “514141100906”, Databar part is “(8110)106141416543213500110000310123196000”.
To change the caption, use Parameters.CaptionAbove.Text = “company prefix + offer code”;
CODABLOCK_FSpecifies that the data should be encoded with Codablock-F barcode specification.
GS1_CODABLOCK_FSpecifies that the data should be encoded with GS1 Codablock-F barcode specification. The codetext must contains parentheses for AI.
GS1_COMPOSITE_BARSpecifies that the data should be encoded with GS1 Composite Bar barcode specification. The codetext must contains parentheses for AI. 1D codetext and 2D codetext must be separated with symbol ‘/’
HIBC_CODE_39LICSpecifies that the data should be encoded with HIBC LIC Code39 barcode specification.
HIBC_CODE_128LICSpecifies that the data should be encoded with HIBC LIC Code128 barcode specification.
HIBC_AZTEC_LICSpecifies that the data should be encoded with HIBC LIC Aztec barcode specification.
HIBC_DATA_MATRIX_LICSpecifies that the data should be encoded with HIBC LIC DataMatrix barcode specification.
HIBCQRLICSpecifies that the data should be encoded with HIBC LIC QR barcode specification.
HIBC_CODE_39PASSpecifies that the data should be encoded with HIBC PAS Code39 barcode specification.
HIBC_CODE_128PASSpecifies that the data should be encoded with HIBC PAS Code128 barcode specification.
HIBC_AZTEC_PASSpecifies that the data should be encoded with HIBC PAS Aztec barcode specification.
HIBC_DATA_MATRIX_PASSpecifies that the data should be encoded with HIBC PAS DataMatrix barcode specification.
HIBCQRPASSpecifies that the data should be encoded with HIBC PAS QR barcode specification.
GS1_DOT_CODESpecifies that the data should be encoded with GS1 DotCode barcode specification. The codetext must contains parentheses for AI.

Methods

NameDescription
get_names()Retrieves an array of the names of the encode types.
parse(parsing_type, result)Converts the string representation of a BaseEncodeType to its instance.
A return value indicates whether the conversion succeeded or failed.
try_parse(parsing_type, result)Converts the string representation of a BaseEncodeType to its instance.
A return value indicates whether the conversion succeeded or failed.

See Also