Aspose::BarCode::BarCodeRecognition::DecodeType class

DecodeType class

Specify the type of barcode to read.

class DecodeType

Methods

MethodDescription
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<MultiDecodeType>&)Converts the string representation of a MultiDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.

Fields

FieldDescription
static AllSupportedTypesSpecifies that data will be checked with all available symbologies
static AustralianPosteParcelSpecifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification
static AustraliaPostSpecifies that the data should be decoded with Australia Post barcode specification
static AztecSpecifies that the data should be decoded with Aztec barcode specification
static CodabarSpecifies that the data should be decoded with CODABAR barcode specification
static CodablockFSpecifies that the data should be decoded with CodablockF barcode specification
static Code11Specifies that the data should be decoded with CODE 11 barcode specification
static Code128Specifies that the data should be decoded with CODE 128 barcode specification
static Code16KSpecifies that the data should be decoded with SCode16K barcode specification
static Code32Specifies that the data should be decoded with Code32 barcode specification
static Code39Specifies that the data should be decoded with Code 39 basic charset barcode specification: ISO/IEC 16388
static Code39FullASCIISpecifies that the data should be decoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388
static Code93Specifies that the data should be decoded with CODE 93 barcode specification
static CompactPdf417Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification
static DatabarExpandedSpecifies that the data should be decoded with GS1 Databar expanded barcode specification
static DatabarExpandedStackedSpecifies that the data should be decoded with GS1 Databar expanded stacked barcode specification
static DatabarLimitedSpecifies that the data should be decoded with GS1 Databar limited barcode specification
static DatabarOmniDirectionalSpecifies that the data should be decoded with GS1 Databar omni-directional barcode specification
static DatabarStackedSpecifies that the data should be decoded with GS1 Databar stacked barcode specification
static DatabarStackedOmniDirectionalSpecifies that the data should be decoded with GS1 Databar stacked omni-directional barcode specification
static DatabarTruncatedSpecifies that the data should be decoded with GS1 Databar truncated barcode specification
static DataLogic2of5Specifies that the data should be decoded with DataLogic 2 of 5 barcode specification
static DataMatrixSpecifies that the data should be decoded with DataMatrix barcode symbology
static DeutschePostIdentcodeSpecifies that the data should be decoded with DeutschePost Ident code barcode specification
static DeutschePostLeitcodeSpecifies that the data should be decoded with DeutschePost Leit code barcode specification
static DotCodeSpecifies that the data should be decoded with DotCode barcode specification
static DutchKIXSpecifies that the data should be decoded with DotCode barcode specification
static EAN13Specifies that the data should be decoded with EAN-13 barcode specification
static EAN14Specifies that the data should be decoded with EAN14 barcode specification
static EAN8Specifies that the data should be decoded with EAN-8 barcode specification
static GS1AztecSpecifies that the data should be decoded with GS1 Aztec barcode specification
static GS1Code128Specifies that the data should be decoded with GS1 CODE 128 barcode specification
static GS1CompositeBarSpecifies that the data should be decoded with GS1 Composite Bar barcode specification
static GS1DataMatrixSpecifies that the data should be decoded with GS1DataMatrix barcode symbology
static GS1DotCodeSpecifies that the data should be decoded with GS1 DotCode barcode specification
static GS1HanXinSpecifies that the data should be decoded with GS1 Han Xin Code barcode specification
static GS1MicroPdf417Specifies that the data should be decoded with MicroPdf417 barcode specification
static GS1QRSpecifies that the data should be decoded with GS1 QR barcode specification
static HanXinSpecifies that the data should be decoded with Han Xin Code barcode specification
static HIBCAztecLICSpecifies that the data should be decoded with HIBC LIC Aztec barcode specification
static HIBCAztecPASSpecifies that the data should be decoded with HIBC PAS Aztec barcode specification
static HIBCCode128LICSpecifies that the data should be decoded with HIBC LIC Code128 barcode specification
static HIBCCode128PASSpecifies that the data should be decoded with HIBC PAS Code128 barcode specification
static HIBCCode39LICSpecifies that the data should be decoded with HIBC LIC Code39 barcode specification
static HIBCCode39PASSpecifies that the data should be decoded with HIBC PAS Code39 barcode specification
static HIBCDataMatrixLICSpecifies that the data should be decoded with HIBC LIC DataMatrix barcode specification
static HIBCDataMatrixPASSpecifies that the data should be decoded with HIBC PAS DataMatrix barcode specification
static HIBCQRLICSpecifies that the data should be decoded with HIBC LIC QR barcode specification
static HIBCQRPASSpecifies that the data should be decoded with HIBC PAS QR barcode specification
static IATA2of5Specifies 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 Interleaved2of5Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification
static ISBNSpecifies that the data should be decoded with ISBN barcode specification
static ISMNSpecifies that the data should be decoded with ISMN barcode specification
static ISSNSpecifies that the data should be decoded with ISSN barcode specification
static ItalianPost25Specifies that the data should be decoded with Italian Post 25 barcode specification
static ITF14Specifies that the data should be decoded with ITF14 barcode specification
static ITF6Specifies that the data should be decoded with ITF6 barcode specification
static MacroPdf417Specifies that the data should be decoded with MacroPdf417 barcode specification
static MailmarkSpecifies that the data should be decoded with Royal Mail Mailmark barcode specification.
static Matrix2of5Specifies that the data should be decoded with Matrix 2 of 5 barcode specification
static MaxiCodeSpecifies that the data should be decoded with MaxiCode barcode specification
static MicrE13BSpecifies that the data should be decoded with MICR E-13B barcode specification
static MicroPdf417Specifies that the data should be decoded with MicroPdf417 barcode specification
static MicroQRSpecifies that the data should be decoded with MicroQR Code barcode specification
static MostCommonTypesSpecifies that data will be checked with most commonly used symbologies
static MSISpecifies that the data should be decoded with MSI Plessey barcode specification
static NoneUnspecified decode type.
static OneCodeSpecifies that the data should be decoded with USPS OneCode barcode specification
static OPCSpecifies that the data should be decoded with OPC barcode specification
static PatchCodeSpecifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning
static Pdf417Specifies that the data should be decoded with Pdf417 barcode symbology
static PharmacodeSpecifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical Binary Code
static PlanetSpecifies that the data should be decoded with Planet barcode specification
static PostalTypesSpecifies that data will be checked with all of 1.5D Postal barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX
static PostnetSpecifies that the data should be decoded with Postnet barcode specification
static PZNSpecifies 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 QRSpecifies that the data should be decoded with QR Code barcode specification
static RectMicroQRSpecifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification
static RM4SCCSpecifies 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 SCC14Specifies that the data should be decoded with SCC14 barcode specification
static SSCC18Specifies that the data should be decoded with SSCC18 barcode specification
static Standard2of5Specifies that the data should be decoded with Standard 2 of 5 barcode specification
static SupplementSpecifies that the data should be decoded with Supplement(EAN2, EAN5) barcode specification
static SwissPostParcelSpecifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification
static Types1DSpecifies that data will be checked with all of 1D barcode symbologies
static Types2DSpecifies that data will be checked with all of 2D barcode symbologies
static UPCASpecifies that the data should be decoded with UPC-A barcode specification
static UPCESpecifies that the data should be decoded with UPC-E barcode specification
static VINSpecifies 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.Code39, 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.Code39, 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