EncodeTypes
EncodeTypes class
Namespace: Aspose.Barcode.Generation
Specifies the type of barcode to encode.
Methods
| Name | Static | Description |
|---|---|---|
| parse | Yes |
Constants
| Name | Value | Description |
|---|---|---|
| AUSTRALIA_POST | 38 | Represents Australia Post Customer BarCode |
| AUSTRALIAN_POSTE_PARCEL | 49 | Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification |
| AZTEC | 35 | Specifies that the data should be encoded with Aztec barcode specification |
| CODABAR | 0 | Specifies that the data should be encoded with CODABAR barcode specification |
| CODABLOCK_F | 64 | Specifies that the data should be encoded with Codablock-F barcode specification. |
| CODE_11 | 1 | Specifies that the data should be encoded with CODE 11 barcode specification |
| CODE_128 | 6 | Specifies that the data should be encoded with CODE 128 barcode specification |
| CODE_16_K | 31 | Represents Code 16K barcode. |
| CODE_32 | 58 | Specifies that the data should be encoded with Code32 barcode specification |
| CODE_39 | 2 | Specifies that the data should be encoded with basic charset barcode specification: ISO/IEC 16388 |
| CODE_39_FULL_ASCII | 3 | Specifies that the data should be encoded with full ASCII charset barcode specification: ISO/IEC 16388 |
| CODE_93 | 5 | Specifies that the data should be encoded with barcode specification |
| DATA_LOGIC_2_OF_5 | 59 | Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification |
| DATA_MATRIX | 33 | 2D barcode symbology DataMatrix |
| DATABAR_EXPANDED | 46 | Represents GS1 Databar expanded barcode. |
| DATABAR_EXPANDED_STACKED | 52 | Represents GS1 Databar expanded stacked barcode. |
| DATABAR_LIMITED | 45 | Represents GS1 DATABAR limited barcode. |
| DATABAR_OMNI_DIRECTIONAL | 43 | Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification. |
| DATABAR_STACKED | 53 | Represents GS1 Databar stacked barcode. |
| DATABAR_STACKED_OMNI_DIRECTIONAL | 54 | Represents GS1 Databar stacked omni-directional barcode. |
| DATABAR_TRUNCATED | 44 | Specifies that the data should be encoded with GS1 Databar truncated barcode specification. |
| DEUTSCHE_POST_IDENTCODE | 27 | Represents Deutsch Post barcode, This EncodeType 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_LEITCODE | 28 | Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL). |
| DOT_CODE | 60 | Specifies that the data should be encoded with DotCode barcode specification |
| DUTCH_KIX | 61 | Specifies that the data should be encoded with Dutch KIX barcode specification |
| EAN_13 | 9 | Specifies that the data should be encoded with EAN-13 barcode specification |
| EAN_14 | 10 | Specifies that the data should be encoded with EAN14 barcode specification |
| EAN_8 | 8 | Specifies that the data should be encoded with EAN-8 barcode specification |
| GS_1_AZTEC | 81 | Specifies that the data should be encoded with barcode specification. The codetext must contains parentheses for AI. |
| GS_1_CODABLOCK_F | 65 | Specifies that the data should be encoded with GS1 Codablock-F barcode specification. The codetext must contains parentheses for AI. |
| GS_1_CODE_128 | 7 | Specifies that the data should be encoded with GS1 Code 128 barcode specification. The codetext must contains parentheses for AI. |
| GS_1_COMPOSITE_BAR | 67 | Specifies 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 ‘/’ |
| GS_1_DATA_MATRIX | 48 | 2D barcode symbology DataMatrix with GS1 string format |
| GS_1_DOT_CODE | 78 | Specifies that the data should be encoded with barcode specification. The codetext must contains parentheses for AI. |
| GS_1_HAN_XIN | 80 | 2D barcode symbology QR with GS1 string format |
| GS_1_MICRO_PDF_417 | 82 | Specifies that the data should be encoded with GS1MicroPdf417 barcode specification |
| GS_1_QR | 56 | 2D barcode symbology QR with GS1 string format |
| HAN_XIN | 79 | Specifies that the data should be encoded with Han Xin barcode specification |
| HIBC_AZTEC_LIC | 70 | Specifies that the data should be encoded with barcode specification. |
| HIBC_AZTEC_PAS | 75 | Specifies that the data should be encoded with barcode specification. |
| HIBC_CODE_128_LIC | 69 | Specifies that the data should be encoded with barcode specification. |
| HIBC_CODE_128_PAS | 74 | Specifies that the data should be encoded with barcode specification. |
| HIBC_CODE_39_LIC | 68 | Specifies that the data should be encoded with barcode specification. |
| HIBC_CODE_39_PAS | 73 | Specifies that the data should be encoded with barcode specification. |
| HIBC_DATA_MATRIX_LIC | 71 | Specifies that the data should be encoded with barcode specification. |
| HIBC_DATA_MATRIX_PAS | 76 | Specifies that the data should be encoded with barcode specification. |
| HIBCQRLIC | 72 | Specifies that the data should be encoded with barcode specification. |
| HIBCQRPAS | 77 | Specifies that the data should be encoded with barcode specification. |
| IATA_2_OF_5 | 22 | Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo. |
| INTERLEAVED_2_OF_5 | 19 | Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification |
| ISBN | 15 | Specifies that the data should be encoded with isBN barcode specification |
| ISMN | 17 | Specifies that the data should be encoded with ISMN barcode specification |
| ISSN | 16 | Specifies that the data should be encoded with ISSN barcode specification |
| ITALIAN_POST_25 | 21 | Represents Italian Post 25 barcode. |
| ITF_14 | 23 | Specifies that the data should be encoded with ITF14 barcode specification |
| ITF_6 | 24 | Represents ITF-6 Barcode. |
| MACRO_PDF_417 | 37 | Specifies that the data should be encoded with MacroPdf417 barcode specification |
| MAILMARK | 66 | Represents Royal Mail Mailmark barcode. |
| MATRIX_2_OF_5 | 20 | Represents Matrix 2 of 5 BarCode |
| MAXI_CODE | 57 | Specifies that the data should be encoded with MaxiCode barcode specification |
| MICRO_PDF_417 | 55 | Specifies that the data should be encoded with MicroPdf417 barcode specification |
| MICRO_QR | 83 | Specifies that the data should be encoded with MicroQR Code barcode specification |
| MSI | 25 | Specifies that the data should be encoded with MSI Plessey barcode specification |
| NONE | -1 | Unspecified encode type. |
| ONE_CODE | 41 | Specifies that the data should be encoded with USPS OneCode barcode specification |
| OPC | 29 | Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode. |
| PATCH_CODE | 51 | Represents Patch code barcode |
| PDF_417 | 36 | Specifies that the data should be encoded with Pdf417 barcode specification |
| PHARMACODE | 32 | Represents Pharmacode barcode. |
| PLANET | 40 | Specifies that the data should be encoded with Planet barcode specification |
| POSTNET | 39 | Specifies that the data should be encoded with Postnet barcode specification |
| PZN | 30 | Represents PZN barcode.This EncodeType is also known as Pharmacy central number, Pharmazentralnummer |
| QR | 34 | Specifies that the data should be encoded with QR Code barcode specification |
| RECT_MICRO_QR | 84 | Specifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification |
| RM_4_SCC | 42 | Represents RM4SCC barcode. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK. |
| SCC_14 | 11 | Specifies that the data should be encoded with SCC14 barcode specification |
| SINGAPORE_POST | 47 | Specifies that the data should be encoded with Singapore Post Barcode barcode specification |
| SSCC_18 | 12 | Specifies that the data should be encoded with SSCC18 barcode specification |
| STANDARD_2_OF_5 | 18 | Specifies that the data should be encoded with Standard 2 of 5 barcode specification |
| SWISS_POST_PARCEL | 50 | Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. Supported types: Domestic Mail, International Mail, Additional Services (new) |
| UPCA | 13 | Specifies that the data should be encoded with UPC-A barcode specification |
| UPCA_GS_1_CODE_128_COUPON | 62 | Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification. An example of the input string: BarCodeBuilder->setCodetext(“514141100906(8102)03”), where UPCA part is “514141100906”, GS1Code128 part is (8102)03. |
| UPCA_GS_1_DATABAR_COUPON | 63 | Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification. An example of the input string: where UPCA part is “514141100906”, DATABAR part is “(8110)106141416543213500110000310123196000”. To change the caption, use barCodeBuilder->getCaptionAbove()->setText(“company prefix + offer code”); |
| UPCE | 14 | Specifies that the data should be encoded with UPC-E barcode specification |
| VIN | 26 | Represents VIN (Vehicle Identification Number) Barcode. |
parseparse(string $encodeTypeName) (static)
| Parameter | Type | Description |
|---|---|---|
$encodeTypeName | string |
AUSTRALIA_POST
Value: 38
Represents Australia Post Customer BarCode
AUSTRALIAN_POSTE_PARCEL
Value: 49
Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification
AZTEC
Value: 35
Specifies that the data should be encoded with Aztec barcode specification
CODABAR
Value: 0
Specifies that the data should be encoded with CODABAR barcode specification
CODABLOCK_F
Value: 64
Specifies that the data should be encoded with Codablock-F barcode specification.
CODE_11
Value: 1
Specifies that the data should be encoded with CODE 11 barcode specification
CODE_128
Value: 6
Specifies that the data should be encoded with CODE 128 barcode specification
CODE_16_K
Value: 31
Represents Code 16K barcode.
CODE_32
Value: 58
Specifies that the data should be encoded with Code32 barcode specification
CODE_39
Value: 2
Specifies that the data should be encoded with basic charset barcode specification: ISO/IEC 16388
CODE_39_FULL_ASCII
Value: 3
Specifies that the data should be encoded with full ASCII charset barcode specification: ISO/IEC 16388
CODE_93
Value: 5
Specifies that the data should be encoded with barcode specification
DATA_LOGIC_2_OF_5
Value: 59
Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification
DATA_MATRIX
Value: 33
2D barcode symbology DataMatrix
DATABAR_EXPANDED
Value: 46
Represents GS1 Databar expanded barcode.
DATABAR_EXPANDED_STACKED
Value: 52
Represents GS1 Databar expanded stacked barcode.
DATABAR_LIMITED
Value: 45
Represents GS1 DATABAR limited barcode.
DATABAR_OMNI_DIRECTIONAL
Value: 43
Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification.
DATABAR_STACKED
Value: 53
Represents GS1 Databar stacked barcode.
DATABAR_STACKED_OMNI_DIRECTIONAL
Value: 54
Represents GS1 Databar stacked omni-directional barcode.
DATABAR_TRUNCATED
Value: 44
Specifies that the data should be encoded with GS1 Databar truncated barcode specification.
DEUTSCHE_POST_IDENTCODE
Value: 27
Represents Deutsch Post barcode, This EncodeType 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_LEITCODE
Value: 28
Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).
DOT_CODE
Value: 60
Specifies that the data should be encoded with DotCode barcode specification
DUTCH_KIX
Value: 61
Specifies that the data should be encoded with Dutch KIX barcode specification
EAN_13
Value: 9
Specifies that the data should be encoded with EAN-13 barcode specification
EAN_14
Value: 10
Specifies that the data should be encoded with EAN14 barcode specification
EAN_8
Value: 8
Specifies that the data should be encoded with EAN-8 barcode specification
GS_1_AZTEC
Value: 81
Specifies that the data should be encoded with barcode specification. The codetext must contains parentheses for AI.
GS_1_CODABLOCK_F
Value: 65
Specifies that the data should be encoded with GS1 Codablock-F barcode specification. The codetext must contains parentheses for AI.
GS_1_CODE_128
Value: 7
Specifies that the data should be encoded with GS1 Code 128 barcode specification. The codetext must contains parentheses for AI.
GS_1_COMPOSITE_BAR
Value: 67
Specifies 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 ‘/’
GS_1_DATA_MATRIX
Value: 48
2D barcode symbology DataMatrix with GS1 string format
GS_1_DOT_CODE
Value: 78
Specifies that the data should be encoded with barcode specification. The codetext must contains parentheses for AI.
GS_1_HAN_XIN
Value: 80
2D barcode symbology QR with GS1 string format
GS_1_MICRO_PDF_417
Value: 82
Specifies that the data should be encoded with GS1MicroPdf417 barcode specification
GS_1_QR
Value: 56
2D barcode symbology QR with GS1 string format
HAN_XIN
Value: 79
Specifies that the data should be encoded with Han Xin barcode specification
HIBC_AZTEC_LIC
Value: 70
Specifies that the data should be encoded with barcode specification.
HIBC_AZTEC_PAS
Value: 75
Specifies that the data should be encoded with barcode specification.
HIBC_CODE_128_LIC
Value: 69
Specifies that the data should be encoded with barcode specification.
HIBC_CODE_128_PAS
Value: 74
Specifies that the data should be encoded with barcode specification.
HIBC_CODE_39_LIC
Value: 68
Specifies that the data should be encoded with barcode specification.
HIBC_CODE_39_PAS
Value: 73
Specifies that the data should be encoded with barcode specification.
HIBC_DATA_MATRIX_LIC
Value: 71
Specifies that the data should be encoded with barcode specification.
HIBC_DATA_MATRIX_PAS
Value: 76
Specifies that the data should be encoded with barcode specification.
HIBCQRLIC
Value: 72
Specifies that the data should be encoded with barcode specification.
HIBCQRPAS
Value: 77
Specifies that the data should be encoded with barcode specification.
IATA_2_OF_5
Value: 22
Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo.
INTERLEAVED_2_OF_5
Value: 19
Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification
ISBN
Value: 15
Specifies that the data should be encoded with isBN barcode specification
ISMN
Value: 17
Specifies that the data should be encoded with ISMN barcode specification
ISSN
Value: 16
Specifies that the data should be encoded with ISSN barcode specification
ITALIAN_POST_25
Value: 21
Represents Italian Post 25 barcode.
ITF_14
Value: 23
Specifies that the data should be encoded with ITF14 barcode specification
ITF_6
Value: 24
Represents ITF-6 Barcode.
MACRO_PDF_417
Value: 37
Specifies that the data should be encoded with MacroPdf417 barcode specification
MAILMARK
Value: 66
Represents Royal Mail Mailmark barcode.
MATRIX_2_OF_5
Value: 20
Represents Matrix 2 of 5 BarCode
MAXI_CODE
Value: 57
Specifies that the data should be encoded with MaxiCode barcode specification
MICRO_PDF_417
Value: 55
Specifies that the data should be encoded with MicroPdf417 barcode specification
MICRO_QR
Value: 83
Specifies that the data should be encoded with MicroQR Code barcode specification
MSI
Value: 25
Specifies that the data should be encoded with MSI Plessey barcode specification
NONE
Value: -1
Unspecified encode type.
ONE_CODE
Value: 41
Specifies that the data should be encoded with USPS OneCode barcode specification
OPC
Value: 29
Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.
PATCH_CODE
Value: 51
Represents Patch code barcode
PDF_417
Value: 36
Specifies that the data should be encoded with Pdf417 barcode specification
PHARMACODE
Value: 32
Represents Pharmacode barcode.
PLANET
Value: 40
Specifies that the data should be encoded with Planet barcode specification
POSTNET
Value: 39
Specifies that the data should be encoded with Postnet barcode specification
PZN
Value: 30
Represents PZN barcode.This EncodeType is also known as Pharmacy central number, Pharmazentralnummer
QR
Value: 34
Specifies that the data should be encoded with QR Code barcode specification
RECT_MICRO_QR
Value: 84
Specifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification
RM_4_SCC
Value: 42
Represents RM4SCC barcode. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.
SCC_14
Value: 11
Specifies that the data should be encoded with SCC14 barcode specification
SINGAPORE_POST
Value: 47
Specifies that the data should be encoded with Singapore Post Barcode barcode specification
SSCC_18
Value: 12
Specifies that the data should be encoded with SSCC18 barcode specification
STANDARD_2_OF_5
Value: 18
Specifies that the data should be encoded with Standard 2 of 5 barcode specification
SWISS_POST_PARCEL
Value: 50
Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. Supported types: Domestic Mail, International Mail, Additional Services (new)
UPCA
Value: 13
Specifies that the data should be encoded with UPC-A barcode specification
UPCA_GS_1_CODE_128_COUPON
Value: 62
Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification. An example of the input string: BarCodeBuilder->setCodetext(“514141100906(8102)03”), where UPCA part is “514141100906”, GS1Code128 part is (8102)03.
UPCA_GS_1_DATABAR_COUPON
Value: 63
Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification. An example of the input string: where UPCA part is “514141100906”, DATABAR part is “(8110)106141416543213500110000310123196000”. To change the caption, use barCodeBuilder->getCaptionAbove()->setText(“company prefix + offer code”);
UPCE
Value: 14
Specifies that the data should be encoded with UPC-E barcode specification
VIN
Value: 26
Represents VIN (Vehicle Identification Number) Barcode.