Class DecodeType

Class DecodeType

Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)

Ange typen av streckkod som ska läsas.

public static class DecodeType

Arv

objectDecodeType

Ärvt Medlemmar

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Exempel

Detta exempel visar hur man upptäcker Code39 och Code128 streckkoder.

using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39, DecodeType.Code128))
{
    foreach (BarCodeResult result in reader.ReadBarCodes())
    {
        Console.WriteLine("BarCode Typ: " + result.CodeTypeName);
        Console.WriteLine("BarCode Kodtext: " + result.CodeText);
    }
}
Using reader As New BarCodeReader("c:\test.png", DecodeType.Code39, DecodeType.Code128)
    For Each result As BarCodeResult In reader.ReadBarCodes()
        Console.WriteLine("BarCode Typ: " + result.CodeTypeName)
        Console.WriteLine("BarCode Kodtext: " + result.CodeText)
    Next
End Using

Fält

AllSupportedTypes

Anger att data kommer att kontrolleras med alla tillgängliga symbologier

public static readonly MultyDecodeType AllSupportedTypes

Fältvärde

MultyDecodeType

AustraliaPost

Anger att data ska avkodas med Australia Post streckkodsspecifikation

public static readonly SingleDecodeType AustraliaPost

Fältvärde

SingleDecodeType

AustralianPosteParcel

Anger att data ska avkodas med Australian Post Domestic eParcel Barcode streckkodsspecifikation

public static readonly SingleDecodeType AustralianPosteParcel

Fältvärde

SingleDecodeType

Aztec

Anger att data ska avkodas med Aztec streckkodsspecifikation

public static readonly SingleDecodeType Aztec

Fältvärde

SingleDecodeType

Codabar

Anger att data ska avkodas med CODABAR streckkodsspecifikation

public static readonly SingleDecodeType Codabar

Fältvärde

SingleDecodeType

CodablockF

Anger att data ska avkodas med CodablockF streckkodsspecifikation

public static readonly SingleDecodeType CodablockF

Fältvärde

SingleDecodeType

Code11

Anger att data ska avkodas med CODE 11 streckkodsspecifikation

public static readonly SingleDecodeType Code11

Fältvärde

SingleDecodeType

Code128

Anger att data ska avkodas med CODE 128 streckkodsspecifikation

public static readonly SingleDecodeType Code128

Fältvärde

SingleDecodeType

Code16K

Anger att data ska avkodas med SCode16K streckkodsspecifikation

public static readonly SingleDecodeType Code16K

Fältvärde

SingleDecodeType

Code32

Anger att data ska avkodas med Code32 streckkodsspecifikation

public static readonly SingleDecodeType Code32

Fältvärde

SingleDecodeType

Code39

Anger att data ska avkodas med Code 39 grundläggande teckenuppsättning streckkodsspecifikation: ISO/IEC 16388

public static readonly SingleDecodeType Code39

Fältvärde

SingleDecodeType

Code39FullASCII

Anger att data ska avkodas med Code 39 full ASCII teckenuppsättning streckkodsspecifikation: ISO/IEC 16388

public static readonly SingleDecodeType Code39FullASCII

Fältvärde

SingleDecodeType

Code93

Anger att data ska avkodas med CODE 93 streckkodsspecifikation

public static readonly SingleDecodeType Code93

Fältvärde

SingleDecodeType

CompactPdf417

Anger att data ska avkodas med CompactPdf417 (Pdf417Truncated) streckkodsspecifikation

public static readonly SingleDecodeType CompactPdf417

Fältvärde

SingleDecodeType

DataLogic2of5

Anger att data ska avkodas med DataLogic 2 of 5 streckkodsspecifikation

public static readonly SingleDecodeType DataLogic2of5

Fältvärde

SingleDecodeType

DataMatrix

Anger att data ska avkodas med DataMatrix streckkodssymbologi

public static readonly SingleDecodeType DataMatrix

Fältvärde

SingleDecodeType

DatabarExpanded

Anger att data ska avkodas med GS1 Databar expanded streckkodsspecifikation

public static readonly SingleDecodeType DatabarExpanded

Fältvärde

SingleDecodeType

DatabarExpandedStacked

Anger att data ska avkodas med GS1 Databar expanded stacked streckkodsspecifikation

public static readonly SingleDecodeType DatabarExpandedStacked

Fältvärde

SingleDecodeType

DatabarLimited

Anger att data ska avkodas med GS1 Databar limited streckkodsspecifikation

public static readonly SingleDecodeType DatabarLimited

Fältvärde

SingleDecodeType

DatabarOmniDirectional

Anger att data ska avkodas med GS1 Databar omni-directional streckkodsspecifikation

public static readonly SingleDecodeType DatabarOmniDirectional

Fältvärde

SingleDecodeType

DatabarStacked

Anger att data ska avkodas med GS1 Databar stacked streckkodsspecifikation

public static readonly SingleDecodeType DatabarStacked

Fältvärde

SingleDecodeType

DatabarStackedOmniDirectional

Anger att data ska avkodas med GS1 Databar stacked omni-directional streckkodsspecifikation

public static readonly SingleDecodeType DatabarStackedOmniDirectional

Fältvärde

SingleDecodeType

DatabarTruncated

Anger att data ska avkodas med GS1 Databar truncated streckkodsspecifikation

public static readonly SingleDecodeType DatabarTruncated

Fältvärde

SingleDecodeType

DeutschePostIdentcode

Anger att data ska avkodas med DeutschePost Ident code streckkodsspecifikation

public static readonly SingleDecodeType DeutschePostIdentcode

Fältvärde

SingleDecodeType

DeutschePostLeitcode

Anger att data ska avkodas med DeutschePost Leit code streckkodsspecifikation

public static readonly SingleDecodeType DeutschePostLeitcode

Fältvärde

SingleDecodeType

DotCode

Anger att data ska avkodas med DotCode streckkodsspecifikation

public static readonly SingleDecodeType DotCode

Fältvärde

SingleDecodeType

DutchKIX

Anger att data ska avkodas med DotCode streckkodsspecifikation

public static readonly SingleDecodeType DutchKIX

Fältvärde

SingleDecodeType

EAN13

Anger att data ska avkodas med EAN-13 streckkodsspecifikation

public static readonly SingleDecodeType EAN13

Fältvärde

SingleDecodeType

EAN14

Anger att data ska avkodas med EAN14 streckkodsspecifikation

public static readonly SingleDecodeType EAN14

Fältvärde

SingleDecodeType

EAN8

Anger att data ska avkodas med EAN-8 streckkodsspecifikation

public static readonly SingleDecodeType EAN8

Fältvärde

SingleDecodeType

GS1Aztec

Anger att data ska avkodas med GS1 Aztec streckkodsspecifikation

public static readonly SingleDecodeType GS1Aztec

Fältvärde

SingleDecodeType

GS1Code128

Anger att data ska avkodas med GS1 CODE 128 streckkodsspecifikation

public static readonly SingleDecodeType GS1Code128

Fältvärde

SingleDecodeType

GS1CompositeBar

Anger att data ska avkodas med GS1 Composite Bar streckkodsspecifikation

public static readonly SingleDecodeType GS1CompositeBar

Fältvärde

SingleDecodeType

GS1DataMatrix

Anger att data ska avkodas med GS1DataMatrix streckkodssymbologi

public static readonly SingleDecodeType GS1DataMatrix

Fältvärde

SingleDecodeType

GS1DotCode

Anger att data ska avkodas med GS1 DotCode streckkodsspecifikation

public static readonly SingleDecodeType GS1DotCode

Fältvärde

SingleDecodeType

GS1HanXin

Anger att data ska avkodas med GS1 Han Xin Code streckkodsspecifikation

public static readonly SingleDecodeType GS1HanXin

Fältvärde

SingleDecodeType

GS1MicroPdf417

Anger att data ska avkodas med MicroPdf417 streckkodsspecifikation

public static readonly SingleDecodeType GS1MicroPdf417

Fältvärde

SingleDecodeType

GS1QR

Anger att data ska avkodas med GS1 QR streckkodsspecifikation

public static readonly SingleDecodeType GS1QR

Fältvärde

SingleDecodeType

HIBCAztecLIC

Anger att data ska avkodas med HIBC LIC Aztec streckkodsspecifikation

public static readonly SingleDecodeType HIBCAztecLIC

Fältvärde

SingleDecodeType

HIBCAztecPAS

Anger att data ska avkodas med HIBC PAS Aztec streckkodsspecifikation

public static readonly SingleDecodeType HIBCAztecPAS

Fältvärde

SingleDecodeType

HIBCCode128LIC

Anger att data ska avkodas med HIBC LIC Code128 streckkodsspecifikation

public static readonly SingleDecodeType HIBCCode128LIC

Fältvärde

SingleDecodeType

HIBCCode128PAS

Anger att data ska avkodas med HIBC PAS Code128 streckkodsspecifikation

public static readonly SingleDecodeType HIBCCode128PAS

Fältvärde

SingleDecodeType

HIBCCode39LIC

Anger att data ska avkodas med HIBC LIC Code39 streckkodsspecifikation

public static readonly SingleDecodeType HIBCCode39LIC

Fältvärde

SingleDecodeType

HIBCCode39PAS

Anger att data ska avkodas med HIBC PAS Code39 streckkodsspecifikation

public static readonly SingleDecodeType HIBCCode39PAS

Fältvärde

SingleDecodeType

HIBCDataMatrixLIC

Anger att data ska avkodas med HIBC LIC DataMatrix streckkodsspecifikation

public static readonly SingleDecodeType HIBCDataMatrixLIC

Fältvärde

SingleDecodeType

HIBCDataMatrixPAS

Anger att data ska avkodas med HIBC PAS DataMatrix streckkodsspecifikation

public static readonly SingleDecodeType HIBCDataMatrixPAS

Fältvärde

SingleDecodeType

HIBCQRLIC

Anger att data ska avkodas med HIBC LIC QR streckkodsspecifikation

public static readonly SingleDecodeType HIBCQRLIC

Fältvärde

SingleDecodeType

HIBCQRPAS

Anger att data ska avkodas med HIBC PAS QR streckkodsspecifikation

public static readonly SingleDecodeType HIBCQRPAS

Fältvärde

SingleDecodeType

HanXin

Anger att data ska avkodas med Han Xin Code streckkodsspecifikation

public static readonly SingleDecodeType HanXin

Fältvärde

SingleDecodeType

IATA2of5

Anger att data ska avkodas med IATA 2 of 5 streckkodsspecifikation. IATA (International Air Transport Association) använder denna streckkod för hantering av flygfrakt.

public static readonly SingleDecodeType IATA2of5

Fältvärde

SingleDecodeType

ISBN

Anger att data ska avkodas med ISBN streckkodsspecifikation

public static readonly SingleDecodeType ISBN

Fältvärde

SingleDecodeType

ISMN

Anger att data ska avkodas med ISMN streckkodsspecifikation

public static readonly SingleDecodeType ISMN

Fältvärde

SingleDecodeType

ISSN

Anger att data ska avkodas med ISSN streckkodsspecifikation

public static readonly SingleDecodeType ISSN

Fältvärde

SingleDecodeType

ITF14

Anger att data ska avkodas med ITF14 streckkodsspecifikation

public static readonly SingleDecodeType ITF14

Fältvärde

SingleDecodeType

ITF6

Anger att data ska avkodas med ITF6 streckkodsspecifikation

public static readonly SingleDecodeType ITF6

Fältvärde

SingleDecodeType

Interleaved2of5

Anger att data ska avkodas med INTERLEAVED 2 of 5 streckkodsspecifikation

public static readonly SingleDecodeType Interleaved2of5

Fältvärde

SingleDecodeType

ItalianPost25

Anger att data ska avkodas med Italian Post 25 streckkodsspecifikation

public static readonly SingleDecodeType ItalianPost25

Fältvärde

SingleDecodeType

MSI

Anger att data ska avkodas med MSI Plessey streckkodsspecifikation

public static readonly SingleDecodeType MSI

Fältvärde

SingleDecodeType

MacroPdf417

Anger att data ska avkodas med MacroPdf417 streckkodsspecifikation

public static readonly SingleDecodeType MacroPdf417

Fältvärde

SingleDecodeType

Mailmark

Anger att data ska avkodas med Royal Mail Mailmark streckkodsspecifikation.

public static readonly SingleDecodeType Mailmark

Fältvärde

SingleDecodeType

Matrix2of5

Anger att data ska avkodas med Matrix 2 of 5 streckkodsspecifikation

public static readonly SingleDecodeType Matrix2of5

Fältvärde

SingleDecodeType

MaxiCode

Anger att data ska avkodas med MaxiCode streckkodsspecifikation

public static readonly SingleDecodeType MaxiCode

Fältvärde

SingleDecodeType

MicrE13B

Anger att data ska avkodas med MICR E-13B streckkodsspecifikation

public static readonly SingleDecodeType MicrE13B

Fältvärde

SingleDecodeType

MicroPdf417

Anger att data ska avkodas med MicroPdf417 streckkodsspecifikation

public static readonly SingleDecodeType MicroPdf417

Fältvärde

SingleDecodeType

MicroQR

Anger att data ska avkodas med MicroQR Code streckkodsspecifikation

public static readonly SingleDecodeType MicroQR

Fältvärde

SingleDecodeType

MostCommonTypes

Anger att data kommer att kontrolleras med de mest vanligt använda symbologierna

public static readonly MultyDecodeType MostCommonTypes

Fältvärde

MultyDecodeType

None

Odefinierad avkodningstyp.

public static readonly SingleDecodeType None

Fältvärde

SingleDecodeType

OPC

Anger att data ska avkodas med OPC streckkodsspecifikation

public static readonly SingleDecodeType OPC

Fältvärde

SingleDecodeType

OneCode

Anger att data ska avkodas med USPS OneCode streckkodsspecifikation

public static readonly SingleDecodeType OneCode

Fältvärde

SingleDecodeType

PZN

Anger att data ska avkodas med PZN streckkodsspecifikation. Denna symbologi är också känd som Pharma Zentral Nummer. PZN7 och PZN8 stöds.

public static readonly SingleDecodeType PZN

Fältvärde

SingleDecodeType

PatchCode

Anger att data ska avkodas med Patch code streckkodsspecifikation. Streckkodssymbologi används för automatiserad skanning

public static readonly SingleDecodeType PatchCode

Fältvärde

SingleDecodeType

Pdf417

Anger att data ska avkodas med Pdf417 streckkodssymbologi

public static readonly SingleDecodeType Pdf417

Fältvärde

SingleDecodeType

Pharmacode

Anger att data ska avkodas med Pharmacode streckkod. Denna symbologi är också känd som Pharmaceutical Binary Code

public static readonly SingleDecodeType Pharmacode

Fältvärde

SingleDecodeType

Planet

Anger att data ska avkodas med Planet streckkodsspecifikation

public static readonly SingleDecodeType Planet

Fältvärde

SingleDecodeType

PostalTypes

Anger att data kommer att kontrolleras med alla 1.5D Postal streckkodssymbologier, såsom Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX

public static readonly MultyDecodeType PostalTypes

Fältvärde

MultyDecodeType

Postnet

Anger att data ska avkodas med Postnet streckkodsspecifikation

public static readonly SingleDecodeType Postnet

Fältvärde

SingleDecodeType

QR

Anger att data ska avkodas med QR Code streckkodsspecifikation

public static readonly SingleDecodeType QR

Fältvärde

SingleDecodeType

RM4SCC

Anger att data ska avkodas med RM4SCC streckkodsspecifikation. RM4SCC (Royal Mail 4-state Customer Code) används för automatiserad postsortering i Storbritannien.

public static readonly SingleDecodeType RM4SCC

Fältvärde

SingleDecodeType

RectMicroQR

Anger att data ska avkodas med RectMicroQR (rMQR) Code streckkodsspecifikation

public static readonly SingleDecodeType RectMicroQR

Fältvärde

SingleDecodeType

SCC14

Anger att data ska avkodas med SCC14 streckkodsspecifikation

public static readonly SingleDecodeType SCC14

Fältvärde

SingleDecodeType

SSCC18

Anger att data ska avkodas med SSCC18 streckkodsspecifikation

public static readonly SingleDecodeType SSCC18

Fältvärde

SingleDecodeType

Standard2of5

Anger att data ska avkodas med Standard 2 of 5 streckkodsspecifikation

public static readonly SingleDecodeType Standard2of5

Fältvärde

SingleDecodeType

Supplement

Anger att data ska avkodas med Supplement(EAN2, EAN5) streckkodsspecifikation

public static readonly SingleDecodeType Supplement

Fältvärde

SingleDecodeType

SwissPostParcel

Anger att data ska avkodas med Swiss Post Parcel Barcode streckkodsspecifikation

public static readonly SingleDecodeType SwissPostParcel

Fältvärde

SingleDecodeType

Types1D

Anger att data kommer att kontrolleras med alla 1D streckkodssymbologier

public static readonly MultyDecodeType Types1D

Fältvärde

MultyDecodeType

Types2D

Anger att data kommer att kontrolleras med alla 2D streckkodssymbologier

public static readonly MultyDecodeType Types2D

Fältvärde

MultyDecodeType

UPCA

Anger att data ska avkodas med UPC-A streckkodsspecifikation

public static readonly SingleDecodeType UPCA

Fältvärde

SingleDecodeType

UPCE

Anger att data ska avkodas med UPC-E streckkodsspecifikation

public static readonly SingleDecodeType UPCE

Fältvärde

SingleDecodeType

VIN

Anger att data ska avkodas med VIN (Vehicle Identification Number) streckkodsspecifikation

public static readonly SingleDecodeType VIN

Fältvärde

SingleDecodeType

Egenskaper

AllSupportedTypesArray

Hämtar en array som representerar AllSupportedTypes

public static SingleDecodeType[] AllSupportedTypesArray { get; }

Egenskapsvärde

SingleDecodeType[]

Metoder

GetNames()

Hämtar en array med namnen på avkodningstyperna.

public static string[] GetNames()

Återgår

string[]

En strängarray med namnen på avkodningstyperna.

Is1D(BaseDecodeType)

Bestämmer om den angivna Aspose.BarCode.BarCodeRecognition.BaseDecodeType innehåller någon 1D streckkodssymbologi

public static bool Is1D(BaseDecodeType symbology)

Parametrar

symbology BaseDecodeType

Den Aspose.BarCode.BarCodeRecognition.BaseDecodeType som ska testas.

Återgår

bool

Returnerar true om Aspose.BarCode.BarCodeRecognition.BaseDecodeType innehåller någon 1D streckkodssymbologi; annars returnerar false.

Is2D(BaseDecodeType)

Bestämmer om den angivna Aspose.BarCode.BarCodeRecognition.BaseDecodeType innehåller någon 2D streckkodssymbologi

public static bool Is2D(BaseDecodeType symbology)

Parametrar

symbology BaseDecodeType

Den Aspose.BarCode.BarCodeRecognition.BaseDecodeType som ska testas.

Återgår

bool

Returnerar true om Aspose.BarCode.BarCodeRecognition.BaseDecodeType innehåller någon 2D streckkodssymbologi; annars returnerar false.

IsPostal(BaseDecodeType)

Bestämmer om den angivna Aspose.BarCode.BarCodeRecognition.BaseDecodeType innehåller någon Postal streckkodssymbologi

public static bool IsPostal(BaseDecodeType symbology)

Parametrar

symbology BaseDecodeType

Den Aspose.BarCode.BarCodeRecognition.BaseDecodeType som ska testas.

Återgår

bool

Returnerar true om Aspose.BarCode.BarCodeRecognition.BaseDecodeType innehåller någon Postal streckkodssymbologi; annars returnerar false.

Parse(string, out SingleDecodeType)

Konverterar strängrepresentationen av en SingleDecodeType till dess instans. Ett returvärde indikerar om konverteringen lyckades eller misslyckades.

public static bool Parse(string parsingType, out SingleDecodeType result)

Parametrar

parsingType string

En sträng som innehåller en SingleDecodeType i formatet “EAN8” eller “EAN13” eller “CodaBar”… att konvertera.

result SingleDecodeType

En faktisk SingleDecodeType returneras, när konverteringen har slutförts framgångsrikt; annars returneras odefinierad typ: DecodeType.None.

Återgår

bool

true om parsingType konverterades framgångsrikt; annars false.

ScanSets(params BaseDecodeType[])

Specificera skanningsuppsättningar genom streckkodstyper

public static BaseDecodeType ScanSets(params BaseDecodeType[] barcodeTypes)

Parametrar

barcodeTypes BaseDecodeType[]

Array av enskilda och multipla avkodningstyper

Återgår

BaseDecodeType

En multipel avkodningstyp

TryParse(string, out SingleDecodeType)

Konverterar strängrepresentationen av en SingleDecodeType till dess instans. Ett returvärde indikerar om konverteringen lyckades eller misslyckades.

public static bool TryParse(string parsingType, out SingleDecodeType result)

Parametrar

parsingType string

En sträng som innehåller en SingleDecodeType i formatet “EAN8” eller “EAN13” eller “CodaBar”… att konvertera.

result SingleDecodeType

En faktisk SingleDecodeType returneras, när konverteringen har slutförts framgångsrikt; annars returneras odefinierad typ: DecodeType.None.

Återgår

bool

true om parsingType konverterades framgångsrikt; annars false.

TryParse(string, out MultyDecodeType)

Konverterar strängrepresentationen av en MultyDecodeType till dess instans. Ett returvärde indikerar om konverteringen lyckades eller misslyckades.

public static bool TryParse(string parsingType, out MultyDecodeType result)

Parametrar

parsingType string

En sträng i formatet antingen “AllSupportedTypes” eller “EAN8,EAN13,CodaBar” att konvertera.

result MultyDecodeType

En faktisk MultyDecodeType returneras, när konverteringen har slutförts framgångsrikt; annars returneras odefinierad typ: new MultyDecodeType(DecodeType.None)

Återgår

bool

true om parsingType konverterades framgångsrikt; annars false.

 Svenska