DecodeType Class

Specify the type of barcode to read.
Inheritance Hierarchy
SystemObject
  Aspose.BarCode.BarCodeRecognitionDecodeType

Namespace:  Aspose.BarCode.BarCodeRecognition
Assembly:  Aspose.BarCode (in Aspose.BarCode.dll) Version: 21.4.0
Syntax
public static class DecodeType

The DecodeType type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllSupportedTypesArray
Gets an array that represents AllSupportedTypes
Methods
  NameDescription
Public methodStatic memberGetNames
Retrieves an array of the names of the decode types.
Public methodStatic memberIs1D
Determines if the specified BaseDecodeType contains any 1D barcode symbology
Public methodStatic memberIs2D
Determines if the specified BaseDecodeType contains any 2D barcode symbology
Public methodStatic memberIsPostal
Determines if the specified BaseDecodeType contains any Postal barcode symbology
Public methodStatic memberParse
Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
Public methodStatic memberScanSets
Specify scan sets by barcodeTypes
Public methodStatic memberTryParse(String, MultyDecodeType)
Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
Public methodStatic memberTryParse(String, SingleDecodeType)
Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
Fields
  NameDescription
Public fieldStatic memberAllSupportedTypes
Specifies that data will be checked with all available symbologies
Public fieldStatic memberAustralianPosteParcel
Specifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification
Public fieldStatic memberAustraliaPost
Specifies that the data should be decoded with Australia Post barcode specification
Public fieldStatic memberAztec
Specifies that the data should be decoded with Aztec barcode specification
Public fieldStatic memberCodabar
Specifies that the data should be decoded with CODABAR barcode specification
Public fieldStatic memberCodablockF
Specifies that the data should be decoded with CodablockF barcode specification
Public fieldStatic memberCode11
Specifies that the data should be decoded with CODE 11 barcode specification
Public fieldStatic memberCode128
Specifies that the data should be decoded with CODE 128 barcode specification
Public fieldStatic memberCode16K
Specifies that the data should be decoded with SCode16K barcode specification
Public fieldStatic memberCode32
Specifies that the data should be decoded with Code32 blank specification
Public fieldStatic memberCode39Extended
Specifies that the data should be decoded with Extended CODE 39 barcode specification
Public fieldStatic memberCode39Standard
Specifies that the data should be decoded with Standard CODE 39 barcode specification
Public fieldStatic memberCode93Extended
Specifies that the data should be decoded with Extended CODE 93 barcode specification
Public fieldStatic memberCode93Standard
Specifies that the data should be decoded with Standard CODE 93 barcode specification
Public fieldStatic memberCompactPdf417
Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification
Public fieldStatic memberDatabarExpanded
Specifies that the data should be decoded with GS1 Databar expanded barcode specification
Public fieldStatic memberDatabarExpandedStacked
Specifies that the data should be decoded with GS1 Databar expanded stacked barcode specification
Public fieldStatic memberDatabarLimited
Specifies that the data should be decoded with GS1 Databar limited barcode specification
Public fieldStatic memberDatabarOmniDirectional
Specifies that the data should be decoded with GS1 Databar omni-directional barcode specification
Public fieldStatic memberDatabarStacked
Specifies that the data should be decoded with GS1 Databar stacked barcode specification
Public fieldStatic memberDatabarStackedOmniDirectional
Specifies that the data should be decoded with GS1 Databar stacked omni-directional barcode specification
Public fieldStatic memberDatabarTruncated
Specifies that the data should be decoded with GS1 Databar truncated barcode specification
Public fieldStatic memberDataLogic2of5
Specifies that the data should be decoded with DataLogic 2 of 5 blank specification
Public fieldStatic memberDataMatrix
Specifies that the data should be decoded with DataMatrix barcode symbology
Public fieldStatic memberDeutschePostIdentcode
Specifies that the data should be decoded with DeutschePost Ident code barcode specification
Public fieldStatic memberDeutschePostLeitcode
Specifies that the data should be decoded with DeutschePost Leit code barcode specification
Public fieldStatic memberDotCode
Specifies that the data should be decoded with DotCode blank specification
Public fieldStatic memberDutchKIX
Specifies that the data should be decoded with DotCode blank specification
Public fieldStatic memberEAN13
Specifies that the data should be decoded with EAN-13 barcode specification
Public fieldStatic memberEAN14
Specifies that the data should be decoded with EAN14 barcode specification
Public fieldStatic memberEAN8
Specifies that the data should be decoded with EAN-8 barcode specification
Public fieldStatic memberGS1Code128
Specifies that the data should be decoded with GS1 CODE 128 barcode specification
Public fieldStatic memberGS1DataMatrix
Specifies that the data should be decoded with GS1DataMatrix barcode symbology
Public fieldStatic memberGS1QR
Specifies that the data should be decoded with GS1 QR barcode specification
Public fieldStatic memberIATA2of5
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.
Public fieldStatic memberInterleaved2of5
Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification
Public fieldStatic memberISBN
Specifies that the data should be decoded with ISBN barcode specification
Public fieldStatic memberISMN
Specifies that the data should be decoded with ISMN barcode specification
Public fieldStatic memberISSN
Specifies that the data should be decoded with ISSN barcode specification
Public fieldStatic memberItalianPost25
Specifies that the data should be decoded with Italian Post 25 barcode specification
Public fieldStatic memberITF14
Specifies that the data should be decoded with ITF14 barcode specification
Public fieldStatic memberITF6
Specifies that the data should be decoded with ITF6 barcode specification
Public fieldStatic memberMacroPdf417
Specifies that the data should be decoded with MacroPdf417 barcode specification
Public fieldStatic memberMatrix2of5
Specifies that the data should be decoded with Matrix 2 of 5 barcode specification
Public fieldStatic memberMaxiCode
Specifies that the data should be decoded with MaxiCode barcode specification
Public fieldStatic memberMicrE13B
Specifies that the data should be decoded with MICR E-13B blank specification
Public fieldStatic memberMicroPdf417
Specifies that the data should be decoded with MicroPdf417 barcode specification
Public fieldStatic memberMicroQR
Specifies that the data should be decoded with MicroQR Code barcode specification
Public fieldStatic memberMostCommonTypes
Specifies that data will be checked with most commonly used symbologies
Public fieldStatic memberMSI
Specifies that the data should be decoded with MSI Plessey barcode specification
Public fieldStatic memberNone
Unspecified decode type.
Public fieldStatic memberOneCode
Specifies that the data should be decoded with USPS OneCode barcode specification
Public fieldStatic memberOPC
Specifies that the data should be decoded with OPC barcode specification
Public fieldStatic memberPatchCode
Specifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning
Public fieldStatic memberPdf417
Specifies that the data should be decoded with Pdf417 barcode symbology
Public fieldStatic memberPharmacode
Specifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical Binary Code
Public fieldStatic memberPlanet
Specifies that the data should be decoded with Planet barcode specification
Public fieldStatic memberPostalTypes
Specifies that data will be checked with all of 1.5D Postal barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX
Public fieldStatic memberPostnet
Specifies that the data should be decoded with Postnet barcode specification
Public fieldStatic memberPZN
Specifies that the data should be decoded with PZN barcode specification. This symbology is also known as Pharma Zentral Nummer
Public fieldStatic memberQR
Specifies that the data should be decoded with QR Code barcode specification
Public fieldStatic memberRM4SCC
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.
Public fieldStatic memberSCC14
Specifies that the data should be decoded with SCC14 barcode specification
Public fieldStatic memberSSCC18
Specifies that the data should be decoded with SSCC18 barcode specification
Public fieldStatic memberStandard2of5
Specifies that the data should be decoded with Standard 2 of 5 barcode specification
Public fieldStatic memberSupplement
Specifies that the data should be decoded with Supplement(EAN2, EAN5) barcode specification
Public fieldStatic memberSwissPostParcel
Specifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification
Public fieldStatic memberTypes1D
Specifies that data will be checked with all of 1D barcode symbologies
Public fieldStatic memberTypes2D
Specifies that data will be checked with all of 2D barcode symbologies
Public fieldStatic memberUPCA
Specifies that the data should be decoded with UPC-A barcode specification
Public fieldStatic memberUPCE
Specifies that the data should be decoded with UPC-E barcode specification
Public fieldStatic memberVIN
Specifies that the data should be decoded with VIN (Vehicle Identification Number) barcode specification
Examples
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