Class DecodeType
Contents
[
Hide
]DecodeType class
Specify the type of barcode to read.
public static class DecodeType
Properties
Name | Description |
---|---|
static AllSupportedTypesArray { get; } | Gets an array that represents AllSupportedTypes |
Methods
Name | Description |
---|---|
static GetNames() | Retrieves an array of the names of the decode types. |
static Is1D(BaseDecodeType) | Determines if the specified BaseDecodeType contains any 1D barcode symbology |
static Is2D(BaseDecodeType) | Determines if the specified BaseDecodeType contains any 2D barcode symbology |
static IsPostal(BaseDecodeType) | Determines if the specified BaseDecodeType contains any Postal barcode symbology |
static Parse(string, out SingleDecodeType) | Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
static ScanSets(params BaseDecodeType[]) | Specify scan sets by barcodeTypes |
static TryParse(string, out MultyDecodeType) | Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
static TryParse(string, out SingleDecodeType) | Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
Fields
Name | Description |
---|---|
static readonly AllSupportedTypes | Specifies that data will be checked with all available symbologies |
static readonly AustralianPosteParcel | Specifies that the data should be decoded with Australian Post Domestic eParcel Barcode barcode specification |
static readonly AustraliaPost | Specifies that the data should be decoded with Australia Post barcode specification |
static readonly Aztec | Specifies that the data should be decoded with Aztec barcode specification |
static readonly Codabar | Specifies that the data should be decoded with CODABAR barcode specification |
static readonly CodablockF | Specifies that the data should be decoded with CodablockF barcode specification |
static readonly Code11 | Specifies that the data should be decoded with CODE 11 barcode specification |
static readonly Code128 | Specifies that the data should be decoded with CODE 128 barcode specification |
static readonly Code16K | Specifies that the data should be decoded with SCode16K barcode specification |
static readonly Code32 | Specifies that the data should be decoded with Code32 barcode specification |
static readonly Code39 | Specifies that the data should be decoded with Code 39 basic charset barcode specification: ISO/IEC 16388 |
static readonly Code39FullASCII | Specifies that the data should be decoded with Code 39 full ASCII charset barcode specification: ISO/IEC 16388 |
static readonly Code93 | Specifies that the data should be decoded with CODE 93 barcode specification |
static readonly CompactPdf417 | Specifies that the data should be decoded with CompactPdf417 (Pdf417Truncated) barcode specification |
static readonly DatabarExpanded | Specifies that the data should be decoded with GS1 Databar expanded barcode specification |
static readonly DatabarExpandedStacked | Specifies that the data should be decoded with GS1 Databar expanded stacked barcode specification |
static readonly DatabarLimited | Specifies that the data should be decoded with GS1 Databar limited barcode specification |
static readonly DatabarOmniDirectional | Specifies that the data should be decoded with GS1 Databar omni-directional barcode specification |
static readonly DatabarStacked | Specifies that the data should be decoded with GS1 Databar stacked barcode specification |
static readonly DatabarStackedOmniDirectional | Specifies that the data should be decoded with GS1 Databar stacked omni-directional barcode specification |
static readonly DatabarTruncated | Specifies that the data should be decoded with GS1 Databar truncated barcode specification |
static readonly DataLogic2of5 | Specifies that the data should be decoded with DataLogic 2 of 5 barcode specification |
static readonly DataMatrix | Specifies that the data should be decoded with DataMatrix barcode symbology |
static readonly DeutschePostIdentcode | Specifies that the data should be decoded with DeutschePost Ident code barcode specification |
static readonly DeutschePostLeitcode | Specifies that the data should be decoded with DeutschePost Leit code barcode specification |
static readonly DotCode | Specifies that the data should be decoded with DotCode barcode specification |
static readonly DutchKIX | Specifies that the data should be decoded with DotCode barcode specification |
static readonly EAN13 | Specifies that the data should be decoded with EAN-13 barcode specification |
static readonly EAN14 | Specifies that the data should be decoded with EAN14 barcode specification |
static readonly EAN8 | Specifies that the data should be decoded with EAN-8 barcode specification |
static readonly GS1Aztec | Specifies that the data should be decoded with GS1 Aztec barcode specification |
static readonly GS1Code128 | Specifies that the data should be decoded with GS1 CODE 128 barcode specification |
static readonly GS1CompositeBar | Specifies that the data should be decoded with GS1 Composite Bar barcode specification |
static readonly GS1DataMatrix | Specifies that the data should be decoded with GS1DataMatrix barcode symbology |
static readonly GS1DotCode | Specifies that the data should be decoded with GS1 DotCode barcode specification |
static readonly GS1HanXin | Specifies that the data should be decoded with GS1 Han Xin Code barcode specification |
static readonly GS1MicroPdf417 | Specifies that the data should be decoded with MicroPdf417 barcode specification |
static readonly GS1QR | Specifies that the data should be decoded with GS1 QR barcode specification |
static readonly HanXin | Specifies that the data should be decoded with Han Xin Code barcode specification |
static readonly HIBCAztecLIC | Specifies that the data should be decoded with HIBC LIC Aztec barcode specification |
static readonly HIBCAztecPAS | Specifies that the data should be decoded with HIBC PAS Aztec barcode specification |
static readonly HIBCCode128LIC | Specifies that the data should be decoded with HIBC LIC Code128 barcode specification |
static readonly HIBCCode128PAS | Specifies that the data should be decoded with HIBC PAS Code128 barcode specification |
static readonly HIBCCode39LIC | Specifies that the data should be decoded with HIBC LIC Code39 barcode specification |
static readonly HIBCCode39PAS | Specifies that the data should be decoded with HIBC PAS Code39 barcode specification |
static readonly HIBCDataMatrixLIC | Specifies that the data should be decoded with HIBC LIC DataMatrix barcode specification |
static readonly HIBCDataMatrixPAS | Specifies that the data should be decoded with HIBC PAS DataMatrix barcode specification |
static readonly HIBCQRLIC | Specifies that the data should be decoded with HIBC LIC QR barcode specification |
static readonly HIBCQRPAS | Specifies that the data should be decoded with HIBC PAS QR barcode specification |
static readonly 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 readonly Interleaved2of5 | Specifies that the data should be decoded with INTERLEAVED 2 of 5 barcode specification |
static readonly ISBN | Specifies that the data should be decoded with ISBN barcode specification |
static readonly ISMN | Specifies that the data should be decoded with ISMN barcode specification |
static readonly ISSN | Specifies that the data should be decoded with ISSN barcode specification |
static readonly ItalianPost25 | Specifies that the data should be decoded with Italian Post 25 barcode specification |
static readonly ITF14 | Specifies that the data should be decoded with ITF14 barcode specification |
static readonly ITF6 | Specifies that the data should be decoded with ITF6 barcode specification |
static readonly MacroPdf417 | Specifies that the data should be decoded with MacroPdf417 barcode specification |
static readonly Mailmark | Specifies that the data should be decoded with Royal Mail Mailmark barcode specification. |
static readonly Matrix2of5 | Specifies that the data should be decoded with Matrix 2 of 5 barcode specification |
static readonly MaxiCode | Specifies that the data should be decoded with MaxiCode barcode specification |
static readonly MicrE13B | Specifies that the data should be decoded with MICR E-13B barcode specification |
static readonly MicroPdf417 | Specifies that the data should be decoded with MicroPdf417 barcode specification |
static readonly MicroQR | Specifies that the data should be decoded with MicroQR Code barcode specification |
static readonly MostCommonTypes | Specifies that data will be checked with most commonly used symbologies |
static readonly MSI | Specifies that the data should be decoded with MSI Plessey barcode specification |
static readonly None | Unspecified decode type. |
static readonly OneCode | Specifies that the data should be decoded with USPS OneCode barcode specification |
static readonly OPC | Specifies that the data should be decoded with OPC barcode specification |
static readonly PatchCode | Specifies that the data should be decoded with Patch code barcode specification. Barcode symbology is used for automated scanning |
static readonly Pdf417 | Specifies that the data should be decoded with Pdf417 barcode symbology |
static readonly Pharmacode | Specifies that the data should be decoded with Pharmacode barcode. This symbology is also known as Pharmaceutical Binary Code |
static readonly Planet | Specifies that the data should be decoded with Planet barcode specification |
static readonly PostalTypes | Specifies that data will be checked with all of 1.5D Postal barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX |
static readonly Postnet | Specifies that the data should be decoded with Postnet barcode specification |
static readonly 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 readonly QR | Specifies that the data should be decoded with QR Code barcode specification |
static readonly RectMicroQR | Specifies that the data should be decoded with RectMicroQR (rMQR) Code barcode specification |
static readonly 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 readonly SCC14 | Specifies that the data should be decoded with SCC14 barcode specification |
static readonly SSCC18 | Specifies that the data should be decoded with SSCC18 barcode specification |
static readonly Standard2of5 | Specifies that the data should be decoded with Standard 2 of 5 barcode specification |
static readonly Supplement | Specifies that the data should be decoded with Supplement(EAN2, EAN5) barcode specification |
static readonly SwissPostParcel | Specifies that the data should be decoded with Swiss Post Parcel Barcode barcode specification |
static readonly Types1D | Specifies that data will be checked with all of 1D barcode symbologies |
static readonly Types2D | Specifies that data will be checked with all of 2D barcode symbologies |
static readonly UPCA | Specifies that the data should be decoded with UPC-A barcode specification |
static readonly UPCE | Specifies that the data should be decoded with UPC-E barcode specification |
static readonly VIN | 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
- namespace Aspose.BarCode.BarCodeRecognition
- assembly Aspose.BarCode