Aspose::BarCode::BarCodeRecognition::DecodeType class
Contents
[
Hide
]DecodeType class
Specify the type of barcode to read.
class DecodeType
Methods
| Method | Description |
|---|---|
| DecodeType() | |
| static get_AllSupportedTypesArray() | Gets an array that represents AllSupportedTypes. |
| static GetNames() | Retrieves an array of the names of the decode types. |
| static Is1D(System::SharedPtr<BaseDecodeType>) | Determines if the specified BaseDecodeType contains any 1D barcode symbology. |
| static Is2D(System::SharedPtr<BaseDecodeType>) | Determines if the specified BaseDecodeType contains any 2D barcode symbology. |
| static IsPostal(System::SharedPtr<BaseDecodeType>) | Determines if the specified BaseDecodeType contains any Postal barcode symbology. |
| static Parse(System::String, System::SharedPtr<SingleDecodeType>&) | Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
| static ScanSets(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) | Specify scan sets by barcodeTypes. |
| static TryParse(System::String, System::SharedPtr<SingleDecodeType>&) | Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
| static TryParse(System::String, System::SharedPtr<MultyDecodeType>&) | Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
Fields
| Field | Description |
|---|---|
| static AllSupportedTypes | Specifies that data will be checked with all available symbologies. |
| static AustralianPosteParcel | Specifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification. |
| static AustraliaPost | Specifies that the data should be decoded with Australia Post barcode specification. |
| static Aztec | Specifies that the data should be decoded with Aztec barcode specification. |
| static Codabar | Specifies that the data should be decoded with CODABAR barcode specification. |
| static CodablockF | Specifies that the data should be decoded with CodablockF barcode specification. |
| static Code11 | Specifies that the data should be decoded with CODE 11 barcode specification. |
| static Code128 | Specifies that the data should be decoded with CODE 128 barcode specification. |
| static Code16K | Specifies that the data should be decoded with SCode16K barcode specification. |
| static Code32 | Specifies that the data should be decoded with Code32 barcode specification. |
| static Code39 | Specifies that the data should be decoded with Code 39 basic charset barcode specification: ISO/IEC 16388. |
| static Code39FullASCII | Specifies that the data should be decoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388. |
| static Code93 | Specifies that the data should be decoded with CODE 93 barcode specification. |
| static CompactPdf417 | Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification. |
| static DatabarExpanded | Specifies that the data should be decoded with GS1 Databar expanded barcode specification. |
| static DatabarExpandedStacked | Specifies that the data should be decoded with GS1 Databar expanded stacked barcode specification. |
| static DatabarLimited | Specifies that the data should be decoded with GS1 Databar limited barcode specification. |
| static DatabarOmniDirectional | Specifies that the data should be decoded with GS1 Databar omni-directional barcode specification. |
| static DatabarStacked | Specifies that the data should be decoded with GS1 Databar stacked barcode specification. |
| static DatabarStackedOmniDirectional | Specifies that the data should be decoded with GS1 Databar stacked omni-directional barcode specification. |
| static DatabarTruncated | Specifies that the data should be decoded with GS1 Databar truncated barcode specification. |
| static DataLogic2of5 | Specifies that the data should be decoded with DataLogic 2 of 5 barcode specification. |
| static DataMatrix | Specifies that the data should be decoded with DataMatrix barcode symbology. |
| static DeutschePostIdentcode | Specifies that the data should be decoded with DeutschePost Ident code barcode specification. |
| static DeutschePostLeitcode | Specifies that the data should be decoded with DeutschePost Leit code barcode specification. |
| static DotCode | Specifies that the data should be decoded with DotCode barcode specification. |
| static DutchKIX | Specifies that the data should be decoded with DotCode barcode specification. |
| static EAN13 | Specifies that the data should be decoded with EAN-13 barcode specification. |
| static EAN14 | Specifies that the data should be decoded with EAN14 barcode specification. |
| static EAN8 | Specifies that the data should be decoded with EAN-8 barcode specification. |
| static GS1Aztec | Specifies that the data should be decoded with GS1 Aztec barcode specification. |
| static GS1Code128 | Specifies that the data should be decoded with GS1 CODE 128 barcode specification. |
| static GS1CompositeBar | Specifies that the data should be decoded with GS1 Composite Bar barcode specification. |
| static GS1DataMatrix | Specifies that the data should be decoded with GS1DataMatrix barcode symbology. |
| static GS1DotCode | Specifies that the data should be decoded with GS1 DotCode barcode specification. |
| static GS1HanXin | Specifies that the data should be decoded with GS1 Han Xin Code barcode specification. |
| static GS1MicroPdf417 | Specifies that the data should be decoded with MicroPdf417 barcode specification. |
| static GS1QR | Specifies that the data should be decoded with GS1 QR barcode specification. |
| static HanXin | Specifies that the data should be decoded with Han Xin Code barcode specification. |
| static HIBCAztecLIC | Specifies that the data should be decoded with HIBC LIC Aztec barcode specification. |
| static HIBCAztecPAS | Specifies that the data should be decoded with HIBC PAS Aztec barcode specification. |
| static HIBCCode128LIC | Specifies that the data should be decoded with HIBC LIC Code128 barcode specification. |
| static HIBCCode128PAS | Specifies that the data should be decoded with HIBC PAS Code128 barcode specification. |
| static HIBCCode39LIC | Specifies that the data should be decoded with HIBC LIC Code39 barcode specification. |
| static HIBCCode39PAS | Specifies that the data should be decoded with HIBC PAS Code39 barcode specification. |
| static HIBCDataMatrixLIC | Specifies that the data should be decoded with HIBC LIC DataMatrix barcode specification. |
| static HIBCDataMatrixPAS | Specifies that the data should be decoded with HIBC PAS DataMatrix barcode specification. |
| static HIBCQRLIC | Specifies that the data should be decoded with HIBC LIC QR barcode specification. |
| static HIBCQRPAS | Specifies that the data should be decoded with HIBC PAS QR barcode specification. |
| static IATA2of5 | 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. |
| static Interleaved2of5 | Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification. |
| static ISBN | Specifies that the data should be decoded with ISBN barcode specification. |
| static ISMN | Specifies that the data should be decoded with ISMN barcode specification. |
| static ISSN | Specifies that the data should be decoded with ISSN barcode specification. |
| static ItalianPost25 | Specifies that the data should be decoded with Italian Post 25 barcode specification. |
| static ITF14 | Specifies that the data should be decoded with ITF14 barcode specification. |
| static ITF6 | Specifies that the data should be decoded with ITF6 barcode specification. |
| static MacroPdf417 | Specifies that the data should be decoded with MacroPdf417 barcode specification. |
| static Mailmark | Specifies that the data should be decoded with Royal Mail Mailmark barcode specification. |
| static Matrix2of5 | Specifies that the data should be decoded with Matrix 2 of 5 barcode specification. |
| static MaxiCode | Specifies that the data should be decoded with MaxiCode barcode specification. |
| static MicrE13B | Specifies that the data should be decoded with MICR E-13B barcode specification. |
| static MicroPdf417 | Specifies that the data should be decoded with MicroPdf417 barcode specification. |
| static MicroQR | Specifies that the data should be decoded with MicroQR Code barcode specification. |
| static MostCommonTypes | Specifies that data will be checked with most commonly used symbologies. |
| static MSI | Specifies that the data should be decoded with MSI Plessey barcode specification. |
| static None | Unspecified decode type. |
| static OneCode | Specifies that the data should be decoded with USPS OneCode barcode specification. |
| static OPC | Specifies that the data should be decoded with OPC barcode specification. |
| static PatchCode | Specifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning. |
| static Pdf417 | Specifies that the data should be decoded with Pdf417 barcode symbology. |
| static Pharmacode | Specifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical Binary Code. |
| static Planet | Specifies that the data should be decoded with Planet barcode specification. |
| static PostalTypes | Specifies that data will be checked with all of 1.5D Postal barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX |
| static Postnet | Specifies that the data should be decoded with Postnet barcode specification. |
| static 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. |
| static QR | Specifies that the data should be decoded with QR Code barcode specification. |
| static RectMicroQR | Specifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification. |
| static 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. |
| static SCC14 | Specifies that the data should be decoded with SCC14 barcode specification. |
| static SSCC18 | Specifies that the data should be decoded with SSCC18 barcode specification. |
| static Standard2of5 | Specifies that the data should be decoded with Standard 2 of 5 barcode specification. |
| static Supplement | Specifies that the data should be decoded with Supplement(EAN2, EAN5) barcode specification. |
| static SwissPostParcel | Specifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification. |
| static Types1D | Specifies that data will be checked with all of 1D barcode symbologies. |
| static Types2D | Specifies that data will be checked with all of 2D barcode symbologies. |
| static UPCA | Specifies that the data should be decoded with UPC-A barcode specification. |
| static UPCE | Specifies that the data should be decoded with UPC-E barcode specification. |
| static VIN | Specifies that the data should be decoded with VIN (Vehicle Identification Number) barcode specification. |
Remarks
This sample shows how to detect Code39 and Code128 barcodes.
[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39Standard, DecodeType.Code128))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("BarCode Type: " + result.CodeTypeName);
Console.WriteLine("BarCode CodeText: " + result.CodeText);
}
}
[VB.NET]
Using reader As New BarCodeReader("c:\test.png", DecodeType.Code39Standard, DecodeType.Code128)
For Each result As BarCodeResult In reader.ReadBarCodes()
Console.WriteLine("BarCode Type: " + result.CodeTypeName)
Console.WriteLine("BarCode CodeText: " + result.CodeText)
Next
End Using
See Also
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++