---
title: "DecodeType"
url: "https://reference.aspose.com/barcode/python-net/aspose.barcode.barcoderecognition/decodetype/"
product: "Aspose.BarCode for Python via .NET API Reference"
---


## DecodeType class

Specify the type of barcode to read.

The DecodeType type exposes the following members:
## Properties
| Name | Description |
| :- | :- |
|all_supported_types_array|Gets an array that represents AllSupportedTypes|
|NONE|Unspecified decode type.|
|CODABAR|Specifies that the data should be decoded with CODABAR barcode specification|
|CODE11|Specifies that the data should be decoded with CODE 11 barcode specification|
|CODE39|Specifies that the data should be decoded with Code 39 basic charset barcode specification: ISO/IEC 16388|
|CODE_39_FULL_ASCII|Specifies that the data should be decoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388|
|CODE93|Specifies that the data should be decoded with CODE 93 barcode specification|
|CODE128|Specifies that the data should be decoded with CODE 128 barcode specification|
|GS1_CODE_128|Specifies that the data should be decoded with GS1 CODE 128 barcode specification|
|EAN8|Specifies that the data should be decoded with EAN-8 barcode specification|
|EAN13|Specifies that the data should be decoded with EAN-13 barcode specification|
|EAN14|Specifies that the data should be decoded with EAN14 barcode specification|
|SCC14|Specifies that the data should be decoded with SCC14 barcode specification|
|SSCC18|Specifies that the data should be decoded with SSCC18 barcode specification|
|UPCA|Specifies that the data should be decoded with UPC-A barcode specification|
|UPCE|Specifies that the data should be decoded with UPC-E barcode specification|
|ISBN|Specifies that the data should be decoded with ISBN barcode specification|
|STANDARD_2OF_5|Specifies that the data should be decoded with Standard 2 of 5 barcode specification|
|INTERLEAVED_2OF_5|Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification|
|MATRIX_2OF_5|Specifies that the data should be decoded with Matrix 2 of 5 barcode specification|
|ITALIAN_POST25|Specifies that the data should be decoded with Italian Post 25 barcode specification|
|IATA2OF_5|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.|
|ITF14|Specifies that the data should be decoded with ITF14 barcode specification|
|ITF6|Specifies that the data should be decoded with ITF6 barcode specification|
|MSI|Specifies that the data should be decoded with MSI Plessey barcode specification|
|VIN|Specifies that the data should be decoded with VIN (Vehicle Identification Number) barcode specification|
|DEUTSCHE_POST_IDENTCODE|Specifies that the data should be decoded with DeutschePost Ident code barcode specification|
|DEUTSCHE_POST_LEITCODE|Specifies that the data should be decoded with DeutschePost Leit code barcode specification|
|OPC|Specifies that the data should be decoded with OPC barcode specification|
|PZN|Specifies that the data should be decoded with PZN barcode specification. This symbology is also known as Pharma Zentral Nummer. PZN7 and PZN8 are supported.|
|PHARMACODE|Specifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical Binary Code|
|DATA_MATRIX|Specifies that the data should be decoded with DataMatrix barcode symbology|
|GS1_DATA_MATRIX|Specifies that the data should be decoded with GS1DataMatrix barcode symbology|
|QR|Specifies that the data should be decoded with QR Code barcode specification|
|AZTEC|Specifies that the data should be decoded with Aztec barcode specification|
|GS1_AZTEC|Specifies that the data should be decoded with GS1 Aztec barcode specification|
|PDF417|Specifies that the data should be decoded with Pdf417 barcode symbology|
|MACRO_PDF417|Specifies that the data should be decoded with MacroPdf417 barcode specification|
|MICRO_PDF417|Specifies that the data should be decoded with MicroPdf417 barcode specification|
|GS1_MICRO_PDF_417|Specifies that the data should be decoded with MicroPdf417 barcode specification|
|CODABLOCK_F|Specifies that the data should be decoded with CodablockF barcode specification|
|AUSTRALIA_POST|Specifies that the data should be decoded with Australia Post barcode specification|
|JAPAN_POST|Specifies that the data should be decoded with Japan Post barcode specification|
|POSTNET|Specifies that the data should be decoded with Postnet barcode specification|
|PLANET|Specifies that the data should be decoded with Planet barcode specification|
|ONE_CODE|Specifies that the data should be decoded with USPS OneCode barcode specification|
|RM4SCC|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.|
|MAILMARK|Specifies that the data should be decoded with Royal Mail Mailmark barcode specification.|
|DATABAR_OMNI_DIRECTIONAL|Specifies that the data should be decoded with GS1 Databar omni-directional barcode specification|
|DATABAR_TRUNCATED|Specifies that the data should be decoded with GS1 Databar truncated barcode specification|
|DATABAR_LIMITED|Specifies that the data should be decoded with GS1 Databar limited barcode specification|
|DATABAR_EXPANDED|Specifies that the data should be decoded with GS1 Databar expanded barcode specification|
|DATABAR_STACKED_OMNI_DIRECTIONAL|Specifies that the data should be decoded with GS1 Databar stacked omni-directional barcode specification|
|DATABAR_STACKED|Specifies that the data should be decoded with GS1 Databar stacked barcode specification|
|DATABAR_EXPANDED_STACKED|Specifies that the data should be decoded with GS1 Databar expanded stacked barcode specification|
|PATCH_CODE|Specifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning|
|ISSN|Specifies that the data should be decoded with ISSN barcode specification|
|ISMN|Specifies that the data should be decoded with ISMN barcode specification|
|SUPPLEMENT|Specifies that the data should be decoded with Supplement(EAN2, EAN5) barcode specification|
|AUSTRALIAN_POSTE_PARCEL|Specifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification|
|SWISS_POST_PARCEL|Specifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification|
|CODE_16K|Specifies that the data should be decoded with SCode16K barcode specification|
|MICRO_QR|Specifies that the data should be decoded with MicroQR Code barcode specification|
|COMPACT_PDF417|Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification|
|GS1QR|Specifies that the data should be decoded with GS1 QR barcode specification|
|MAXI_CODE|Specifies that the data should be decoded with MaxiCode barcode specification|
|MICR_E13B|Specifies that the data should be decoded with MICR E-13B barcode specification|
|CODE32|Specifies that the data should be decoded with Code32 barcode specification|
|DATA_LOGIC_2OF_5|Specifies that the data should be decoded with DataLogic 2 of 5 barcode specification|
|DOT_CODE|Specifies that the data should be decoded with DotCode barcode specification|
|GS1_DOT_CODE|Specifies that the data should be decoded with GS1 DotCode barcode specification|
|DUTCH_KIX|Specifies that the data should be decoded with DotCode barcode specification|
|HIBC_CODE_39LIC|Specifies that the data should be decoded with HIBC LIC Code39 barcode specification|
|HIBC_CODE_128LIC|Specifies that the data should be decoded with HIBC LIC Code128 barcode specification|
|HIBC_AZTEC_LIC|Specifies that the data should be decoded with HIBC LIC Aztec barcode specification|
|HIBC_DATA_MATRIX_LIC|Specifies that the data should be decoded with HIBC LIC DataMatrix barcode specification|
|HIBCQRLIC|Specifies that the data should be decoded with HIBC LIC QR barcode specification|
|HIBC_CODE_39PAS|Specifies that the data should be decoded with HIBC PAS Code39 barcode specification|
|HIBC_CODE_128PAS|Specifies that the data should be decoded with HIBC PAS Code128 barcode specification|
|HIBC_AZTEC_PAS|Specifies that the data should be decoded with HIBC PAS Aztec barcode specification|
|HIBC_DATA_MATRIX_PAS|Specifies that the data should be decoded with HIBC PAS DataMatrix barcode specification|
|HIBCQRPAS|Specifies that the data should be decoded with HIBC PAS QR barcode specification|
|HAN_XIN|Specifies that the data should be decoded with Han Xin Code barcode specification|
|GS1_HAN_XIN|Specifies that the data should be decoded with GS1 Han Xin Code barcode specification|
|GS1_COMPOSITE_BAR|Specifies that the data should be decoded with GS1 Composite Bar barcode specification|
|RECT_MICRO_QR|Specifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification|
|TYPES_1D|Specifies that data will be checked with all of 1D barcode symbologies|
|TYPES_2D|Specifies that data will be checked with all of 2D barcode symbologies|
|POSTAL_TYPES|Specifies that data will be checked with all of 1.5D Postal barcode symbologies, like Planet, Postnet, AustraliaPost, JapanPost, OneCode, RM4SCC, DutchKIX|
|MOST_COMMON_TYPES|Specifies that data will be checked with most commonly used symbologies|
|ALL_SUPPORTED_TYPES|Specifies that data will be checked with all available symbologies|
## Methods
| Name | Description |
| :- | :- |
|try_parse(parsing_type, result)|  |
|try_parse(parsing_type, result)|  |
|scan_sets(barcode_types)|Specify scan sets by barcodeTypes|
|get_names()|Retrieves an array of the names of the decode types.|
|parse(parsing_type, result)|Converts the string representation of a SingleDecodeType to its instance.<br/>            A return value indicates whether the conversion succeeded or failed.|
|is_1d(symbology)|Determines if the specified [BaseDecodeType](/barcode/python-net/aspose.barcode.barcoderecognition/basedecodetype/) contains any 1D barcode symbology|
|is_postal(symbology)|Determines if the specified [BaseDecodeType](/barcode/python-net/aspose.barcode.barcoderecognition/basedecodetype/) contains any Postal barcode symbology|
|is_2d(symbology)|Determines if the specified [BaseDecodeType](/barcode/python-net/aspose.barcode.barcoderecognition/basedecodetype/) contains any 2D barcode symbology|

### See Also

* namespace [aspose.barcode.barcoderecognition](/barcode/python-net/aspose.barcode.barcoderecognition/)
* assembly [Aspose.BarCode](/barcode/python-net/)

