DecodeType
DecodeType enum
Module: aspose_barcode.recognition.decode_type
Specify the type of barcode to read. This sample shows how to detect Code39 and Code128 barcodes.
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| contains_any | bool | Yes | |
| is_1d | bool | Yes | |
| is_2d | bool | Yes | |
| is_postal | bool | Yes |
Enum Values
| Name | Value | Description |
|---|---|---|
| ALL_SUPPORTED_TYPES | 99 | Specifies that data will be checked with all available symbologies. |
| AUSTRALIA_POST | 37 | Specifies that the data should be decoded with Australia Post barcode specification. |
| AUSTRALIAN_POSTE_PARCEL | 50 | Specifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification. |
| AZTEC | 33 | Specifies that the data should be decoded with Aztec barcode specification. |
| CODABAR | 0 | Specifies that the data should be decoded with CODABAR barcode specification. |
| CODABLOCK_F | 65 | Specifies that the data should be decoded with CodablockF barcode specification. |
| CODE_11 | 1 | Specifies that the data should be decoded with CODE 11 barcode specification. |
| CODE_128 | 6 | Specifies that the data should be decoded with CODE 128 barcode specification. |
| CODE_16_K | 52 | Specifies that the data should be decoded with SCode16K barcode specification. |
| CODE_32 | 61 | Specifies that the data should be decoded with Code32 blank specification. |
| CODE_39 | 2 | Specifies that the data should be decoded with Code 39 basic charset barcode specification: ISO/IEC 16388. |
| CODE_39_FULL_ASCII | 3 | Specifies that the data should be decoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388. |
| CODE_93 | 5 | Specifies that the data should be decoded with CODE 93 barcode specification. |
| COMPACT_PDF_417 | 57 | Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification. |
| DATA_LOGIC_2_OF_5 | 62 | Specifies that the data should be decoded with DataLogic 2 of 5 blank specification. |
| DATA_MATRIX | 30 | Specifies that the data should be decoded with DataMatrix barcode symbology. |
| DATABAR_EXPANDED | 45 | Specifies that the data should be decoded with GS1 DATABAR expanded barcode specification. |
| DATABAR_EXPANDED_STACKED | 55 | Specifies that the data should be decoded with GS1 DATABAR expanded stacked barcode specification. |
| DATABAR_LIMITED | 44 | Specifies that the data should be decoded with GS1 DATABAR limited barcode specification. |
| DATABAR_OMNI_DIRECTIONAL | 42 | Specifies that the data should be decoded with GS1 DATABAR omni-directional barcode specification. |
| DATABAR_STACKED | 54 | Specifies that the data should be decoded with GS1 DATABAR stacked barcode specification. |
| DATABAR_STACKED_OMNI_DIRECTIONAL | 53 | Specifies that the data should be decoded with GS1 DATABAR stacked omni-directional barcode specification. |
| DATABAR_TRUNCATED | 43 | Specifies that the data should be decoded with GS1 DATABAR truncated barcode specification. |
| DEUTSCHE_POST_IDENTCODE | 25 | Specifies that the data should be decoded with DeutschePost Ident code barcode specification. |
| DEUTSCHE_POST_LEITCODE | 26 | Specifies that the data should be decoded with DeutschePost Leit code barcode specification. |
| DOT_CODE | 63 | Specifies that the data should be decoded with DotCode blank specification. |
| DUTCH_KIX | 64 | Specifies that the data should be decoded with DotCode blank specification. |
| EAN_13 | 9 | Specifies that the data should be decoded with EAN-13 barcode specification. |
| EAN_14 | 10 | Specifies that the data should be decoded with EAN14 barcode specification. |
| EAN_8 | 8 | Specifies that the data should be decoded with EAN-8 barcode specification. |
| GS_1_AZTEC | 81 | Specifies that the data should be decoded with GS1 Aztec barcode specification. |
| GS_1_CODE_128 | 7 | Specifies that the data should be decoded with GS1 CODE 128 barcode specification. |
| GS_1_COMPOSITE_BAR | 80 | Specifies that the data should be decoded with GS1 Composite Bar barcode specification. |
| GS_1_DATA_MATRIX | 31 | Specifies that the data should be decoded with GS1DataMatrix barcode symbology. |
| GS_1_DOT_CODE | 77 | Specifies that the data should be decoded with GS1 DotCode blank specification. |
| GS_1_HAN_XIN | 79 | Specifies that the data should be decoded with Han Xin Code blank specification. |
| GS_1_MICRO_PDF_417 | 82 | Specifies that the data should be decoded with MicroPdf417 barcode specification. |
| GS_1_QR | 58 | Specifies that the data should be decoded with GS1 QR barcode specification. |
| HAN_XIN | 78 | Specifies that the data should be decoded with Han Xin Code blank specification. |
| HIBC_AZTEC_LIC | 69 | Specifies that the data should be decoded with HIBC LIC Aztec blank specification. |
| HIBC_AZTEC_PAS | 74 | Specifies that the data should be decoded with HIBC PAS Aztec blank specification. |
| HIBC_CODE_128_LIC | 68 | Specifies that the data should be decoded with HIBC LIC Code128 blank specification. |
| HIBC_CODE_128_PAS | 73 | Specifies that the data should be decoded with HIBC PAS Code128 blank specification. |
| HIBC_CODE_39_LIC | 67 | Specifies that the data should be decoded with HIBC LIC Code39 blank specification. |
| HIBC_CODE_39_PAS | 72 | Specifies that the data should be decoded with HIBC PAS Code39 blank specification. |
| HIBC_DATA_MATRIX_LIC | 70 | Specifies that the data should be decoded with HIBC LIC DataMatrix blank specification. |
| HIBC_DATA_MATRIX_PAS | 75 | Specifies that the data should be decoded with HIBC PAS DataMatrix blank specification. |
| HIBCQRLIC | 71 | Specifies that the data should be decoded with HIBC LIC QR blank specification. |
| HIBCQRPAS | 76 | Specifies that the data should be decoded with HIBC PAS QR blank specification. |
| IATA_2_OF_5 | 20 | Specifies that the data should be decoded with IATA 2 of 5 barcode specification. IATA (International Air Transport Association) uses this barcode for the management of air cargo. |
| INTERLEAVED_2_OF_5 | 17 | Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification. |
| ISBN | 15 | Specifies that the data should be decoded with ISBN barcode specification. |
| ISMN | 48 | Specifies that the data should be decoded with ISMN barcode specification. |
| ISSN | 47 | Specifies that the data should be decoded with ISSN barcode specification. |
| ITALIAN_POST_25 | 19 | Specifies that the data should be decoded with Italian Post 25 barcode specification. |
| ITF_14 | 21 | Specifies that the data should be decoded with ITF14 barcode specification. |
| ITF_6 | 22 | Specifies that the data should be decoded with ITF6 barcode specification. |
| MACRO_PDF_417 | 35 | Specifies that the data should be decoded with MacroPdf417 barcode specification. |
| MAILMARK | 66 | Specifies that the data should be decoded with Royal Mail Mailmark barcode specification. |
| MATRIX_2_OF_5 | 18 | Specifies that the data should be decoded with Matrix 2 of 5 barcode specification. |
| MAXI_CODE | 59 | Specifies that the data should be decoded with MaxiCode barcode specification. |
| MICR_E_13_B | 60 | Specifies that the data should be decoded with MICR E-13B blank specification. |
| MICRO_PDF_417 | 36 | Specifies that the data should be decoded with MicroPdf417 barcode specification. |
| MICRO_QR | 56 | Specifies that the data should be decoded with MicroQR Code barcode specification. |
| MOST_COMMON_TYPES | 96 | Specifies that data will be checked with most commonly used symbologies. |
| MSI | 23 | Specifies that the data should be decoded with MSI Plessey barcode specification. |
| NONE | -1 | Unspecified decode type. |
| ONE_CODE | 40 | Specifies that the data should be decoded with USPS OneCode barcode specification. |
| OPC | 27 | Specifies that the data should be decoded with OPC barcode specification. |
| PATCH_CODE | 46 | Specifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning |
| PDF_417 | 34 | Specifies that the data should be decoded with Pdf417 barcode symbology. |
| PHARMACODE | 29 | Specifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical BINARY Code |
| PLANET | 39 | Specifies that the data should be decoded with Planet barcode specification. |
| POSTAL_TYPES | 95 | Specifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX. |
| POSTNET | 38 | Specifies that the data should be decoded with Postnet barcode specification. |
| PZN | 28 | Specifies that the data should be decoded with PZN barcode specification. This symbology is also known as Pharma Zentral Nummer |
| QR | 32 | Specifies that the data should be decoded with QR Code barcode specification. |
| RECT_MICRO_QR | 83 | Specifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification. |
| RM_4_SCC | 41 | Specifies that the data should be decoded with RM4SCC barcode specification. 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 decoded with SCC14 barcode specification. |
| SSCC_18 | 12 | Specifies that the data should be decoded with SSCC18 barcode specification. |
| STANDARD_2_OF_5 | 16 | Specifies that the data should be decoded with Standard 2 of 5 barcode specification. |
| SUPPLEMENT | 49 | Specifies that the data should be decoded with Supplement(EAN2 EAN5) barcode specification. |
| SWISS_POST_PARCEL | 51 | Specifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification. |
| TYPES_1D | 97 | Specifies that data will be checked with all of 1D barcode symbologies. |
| TYPES_2D | 98 | Specifies that data will be checked with all of 2D barcode symbologies. |
| UPCA | 13 | Specifies that the data should be decoded with UPC-A barcode specification. |
| UPCE | 14 | Specifies that the data should be decoded with UPC-E barcode specification. |
| VIN | 24 | Specifies that the data should be decoded with VIN (Vehicle Identification Number) barcode specification. |
DecodeType.contains_any (static)
contains_any(decode_type, decode_types) -> bool
| Parameter | Type | Description |
|---|---|---|
decode_type | `` | |
decode_types | `` |
Return Type: bool
DecodeType.is_1d (static)
is_1d(DecodeType symbology) -> bool
| Parameter | Type | Description |
|---|---|---|
symbology | DecodeType |
Return Type: bool
DecodeType.is_2d (static)
is_2d(DecodeType symbology) -> bool
| Parameter | Type | Description |
|---|---|---|
symbology | DecodeType |
Return Type: bool
DecodeType.is_postal (static)
is_postal(DecodeType symbology) -> bool
| Parameter | Type | Description |
|---|---|---|
symbology | DecodeType |
Return Type: bool
DecodeType.ALL_SUPPORTED_TYPES
Type: int
Value: 99
Specifies that data will be checked with all available symbologies.
DecodeType.AUSTRALIA_POST
Type: int
Value: 37
Specifies that the data should be decoded with Australia Post barcode specification.
DecodeType.AUSTRALIAN_POSTE_PARCEL
Type: int
Value: 50
Specifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification.
DecodeType.AZTEC
Type: int
Value: 33
Specifies that the data should be decoded with Aztec barcode specification.
DecodeType.CODABAR
Type: int
Value: 0
Specifies that the data should be decoded with CODABAR barcode specification.
DecodeType.CODABLOCK_F
Type: int
Value: 65
Specifies that the data should be decoded with CodablockF barcode specification.
DecodeType.CODE_11
Type: int
Value: 1
Specifies that the data should be decoded with CODE 11 barcode specification.
DecodeType.CODE_128
Type: int
Value: 6
Specifies that the data should be decoded with CODE 128 barcode specification.
DecodeType.CODE_16_K
Type: int
Value: 52
Specifies that the data should be decoded with SCode16K barcode specification.
DecodeType.CODE_32
Type: int
Value: 61
Specifies that the data should be decoded with Code32 blank specification.
DecodeType.CODE_39
Type: int
Value: 2
Specifies that the data should be decoded with Code 39 basic charset barcode specification: ISO/IEC 16388.
DecodeType.CODE_39_FULL_ASCII
Type: int
Value: 3
Specifies that the data should be decoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388.
DecodeType.CODE_93
Type: int
Value: 5
Specifies that the data should be decoded with CODE 93 barcode specification.
DecodeType.COMPACT_PDF_417
Type: int
Value: 57
Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification.
DecodeType.DATA_LOGIC_2_OF_5
Type: int
Value: 62
Specifies that the data should be decoded with DataLogic 2 of 5 blank specification.
DecodeType.DATA_MATRIX
Type: int
Value: 30
Specifies that the data should be decoded with DataMatrix barcode symbology.
DecodeType.DATABAR_EXPANDED
Type: int
Value: 45
Specifies that the data should be decoded with GS1 DATABAR expanded barcode specification.
DecodeType.DATABAR_EXPANDED_STACKED
Type: int
Value: 55
Specifies that the data should be decoded with GS1 DATABAR expanded stacked barcode specification.
DecodeType.DATABAR_LIMITED
Type: int
Value: 44
Specifies that the data should be decoded with GS1 DATABAR limited barcode specification.
DecodeType.DATABAR_OMNI_DIRECTIONAL
Type: int
Value: 42
Specifies that the data should be decoded with GS1 DATABAR omni-directional barcode specification.
DecodeType.DATABAR_STACKED
Type: int
Value: 54
Specifies that the data should be decoded with GS1 DATABAR stacked barcode specification.
DecodeType.DATABAR_STACKED_OMNI_DIRECTIONAL
Type: int
Value: 53
Specifies that the data should be decoded with GS1 DATABAR stacked omni-directional barcode specification.
DecodeType.DATABAR_TRUNCATED
Type: int
Value: 43
Specifies that the data should be decoded with GS1 DATABAR truncated barcode specification.
DecodeType.DEUTSCHE_POST_IDENTCODE
Type: int
Value: 25
Specifies that the data should be decoded with DeutschePost Ident code barcode specification.
DecodeType.DEUTSCHE_POST_LEITCODE
Type: int
Value: 26
Specifies that the data should be decoded with DeutschePost Leit code barcode specification.
DecodeType.DOT_CODE
Type: int
Value: 63
Specifies that the data should be decoded with DotCode blank specification.
DecodeType.DUTCH_KIX
Type: int
Value: 64
Specifies that the data should be decoded with DotCode blank specification.
DecodeType.EAN_13
Type: int
Value: 9
Specifies that the data should be decoded with EAN-13 barcode specification.
DecodeType.EAN_14
Type: int
Value: 10
Specifies that the data should be decoded with EAN14 barcode specification.
DecodeType.EAN_8
Type: int
Value: 8
Specifies that the data should be decoded with EAN-8 barcode specification.
DecodeType.GS_1_AZTEC
Type: int
Value: 81
Specifies that the data should be decoded with GS1 Aztec barcode specification.
DecodeType.GS_1_CODE_128
Type: int
Value: 7
Specifies that the data should be decoded with GS1 CODE 128 barcode specification.
DecodeType.GS_1_COMPOSITE_BAR
Type: int
Value: 80
Specifies that the data should be decoded with GS1 Composite Bar barcode specification.
DecodeType.GS_1_DATA_MATRIX
Type: int
Value: 31
Specifies that the data should be decoded with GS1DataMatrix barcode symbology.
DecodeType.GS_1_DOT_CODE
Type: int
Value: 77
Specifies that the data should be decoded with GS1 DotCode blank specification.
DecodeType.GS_1_HAN_XIN
Type: int
Value: 79
Specifies that the data should be decoded with Han Xin Code blank specification.
DecodeType.GS_1_MICRO_PDF_417
Type: int
Value: 82
Specifies that the data should be decoded with MicroPdf417 barcode specification.
DecodeType.GS_1_QR
Type: int
Value: 58
Specifies that the data should be decoded with GS1 QR barcode specification.
DecodeType.HAN_XIN
Type: int
Value: 78
Specifies that the data should be decoded with Han Xin Code blank specification.
DecodeType.HIBC_AZTEC_LIC
Type: int
Value: 69
Specifies that the data should be decoded with HIBC LIC Aztec blank specification.
DecodeType.HIBC_AZTEC_PAS
Type: int
Value: 74
Specifies that the data should be decoded with HIBC PAS Aztec blank specification.
DecodeType.HIBC_CODE_128_LIC
Type: int
Value: 68
Specifies that the data should be decoded with HIBC LIC Code128 blank specification.
DecodeType.HIBC_CODE_128_PAS
Type: int
Value: 73
Specifies that the data should be decoded with HIBC PAS Code128 blank specification.
DecodeType.HIBC_CODE_39_LIC
Type: int
Value: 67
Specifies that the data should be decoded with HIBC LIC Code39 blank specification.
DecodeType.HIBC_CODE_39_PAS
Type: int
Value: 72
Specifies that the data should be decoded with HIBC PAS Code39 blank specification.
DecodeType.HIBC_DATA_MATRIX_LIC
Type: int
Value: 70
Specifies that the data should be decoded with HIBC LIC DataMatrix blank specification.
DecodeType.HIBC_DATA_MATRIX_PAS
Type: int
Value: 75
Specifies that the data should be decoded with HIBC PAS DataMatrix blank specification.
DecodeType.HIBCQRLIC
Type: int
Value: 71
Specifies that the data should be decoded with HIBC LIC QR blank specification.
DecodeType.HIBCQRPAS
Type: int
Value: 76
Specifies that the data should be decoded with HIBC PAS QR blank specification.
DecodeType.IATA_2_OF_5
Type: int
Value: 20
Specifies that the data should be decoded with IATA 2 of 5 barcode specification. IATA (International Air Transport Association) uses this barcode for the management of air cargo.
DecodeType.INTERLEAVED_2_OF_5
Type: int
Value: 17
Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification.
DecodeType.ISBN
Type: int
Value: 15
Specifies that the data should be decoded with ISBN barcode specification.
DecodeType.ISMN
Type: int
Value: 48
Specifies that the data should be decoded with ISMN barcode specification.
DecodeType.ISSN
Type: int
Value: 47
Specifies that the data should be decoded with ISSN barcode specification.
DecodeType.ITALIAN_POST_25
Type: int
Value: 19
Specifies that the data should be decoded with Italian Post 25 barcode specification.
DecodeType.ITF_14
Type: int
Value: 21
Specifies that the data should be decoded with ITF14 barcode specification.
DecodeType.ITF_6
Type: int
Value: 22
Specifies that the data should be decoded with ITF6 barcode specification.
DecodeType.MACRO_PDF_417
Type: int
Value: 35
Specifies that the data should be decoded with MacroPdf417 barcode specification.
DecodeType.MAILMARK
Type: int
Value: 66
Specifies that the data should be decoded with Royal Mail Mailmark barcode specification.
DecodeType.MATRIX_2_OF_5
Type: int
Value: 18
Specifies that the data should be decoded with Matrix 2 of 5 barcode specification.
DecodeType.MAXI_CODE
Type: int
Value: 59
Specifies that the data should be decoded with MaxiCode barcode specification.
DecodeType.MICR_E_13_B
Type: int
Value: 60
Specifies that the data should be decoded with MICR E-13B blank specification.
DecodeType.MICRO_PDF_417
Type: int
Value: 36
Specifies that the data should be decoded with MicroPdf417 barcode specification.
DecodeType.MICRO_QR
Type: int
Value: 56
Specifies that the data should be decoded with MicroQR Code barcode specification.
DecodeType.MOST_COMMON_TYPES
Type: int
Value: 96
Specifies that data will be checked with most commonly used symbologies.
DecodeType.MSI
Type: int
Value: 23
Specifies that the data should be decoded with MSI Plessey barcode specification.
DecodeType.NONE
Type: int
Value: -1
Unspecified decode type.
DecodeType.ONE_CODE
Type: int
Value: 40
Specifies that the data should be decoded with USPS OneCode barcode specification.
DecodeType.OPC
Type: int
Value: 27
Specifies that the data should be decoded with OPC barcode specification.
DecodeType.PATCH_CODE
Type: int
Value: 46
Specifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning
DecodeType.PDF_417
Type: int
Value: 34
Specifies that the data should be decoded with Pdf417 barcode symbology.
DecodeType.PHARMACODE
Type: int
Value: 29
Specifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical BINARY Code
DecodeType.PLANET
Type: int
Value: 39
Specifies that the data should be decoded with Planet barcode specification.
DecodeType.POSTAL_TYPES
Type: int
Value: 95
Specifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX.
DecodeType.POSTNET
Type: int
Value: 38
Specifies that the data should be decoded with Postnet barcode specification.
DecodeType.PZN
Type: int
Value: 28
Specifies that the data should be decoded with PZN barcode specification. This symbology is also known as Pharma Zentral Nummer
DecodeType.QR
Type: int
Value: 32
Specifies that the data should be decoded with QR Code barcode specification.
DecodeType.RECT_MICRO_QR
Type: int
Value: 83
Specifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification.
DecodeType.RM_4_SCC
Type: int
Value: 41
Specifies that the data should be decoded with RM4SCC barcode specification. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.
DecodeType.SCC_14
Type: int
Value: 11
Specifies that the data should be decoded with SCC14 barcode specification.
DecodeType.SSCC_18
Type: int
Value: 12
Specifies that the data should be decoded with SSCC18 barcode specification.
DecodeType.STANDARD_2_OF_5
Type: int
Value: 16
Specifies that the data should be decoded with Standard 2 of 5 barcode specification.
DecodeType.SUPPLEMENT
Type: int
Value: 49
Specifies that the data should be decoded with Supplement(EAN2 EAN5) barcode specification.
DecodeType.SWISS_POST_PARCEL
Type: int
Value: 51
Specifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification.
DecodeType.TYPES_1D
Type: int
Value: 97
Specifies that data will be checked with all of 1D barcode symbologies.
DecodeType.TYPES_2D
Type: int
Value: 98
Specifies that data will be checked with all of 2D barcode symbologies.
DecodeType.UPCA
Type: int
Value: 13
Specifies that the data should be decoded with UPC-A barcode specification.
DecodeType.UPCE
Type: int
Value: 14
Specifies that the data should be decoded with UPC-E barcode specification.
DecodeType.VIN
Type: int
Value: 24
Specifies that the data should be decoded with VIN (Vehicle Identification Number) barcode specification.