Class DecodeType
Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)
ระบุประเภทของบาร์โค้ดที่ต้องการอ่าน
public static class DecodeType
การสืบทอด
สมาชิกที่สืบทอด
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวอย่าง
ตัวอย่างนี้แสดงวิธีการตรวจจับบาร์โค้ด Code39 และ Code128
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39, DecodeType.Code128))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("ประเภทบาร์โค้ด: " + result.CodeTypeName);
Console.WriteLine("ข้อความบาร์โค้ด: " + result.CodeText);
}
}
Using reader As New BarCodeReader("c:\test.png", DecodeType.Code39, DecodeType.Code128)
For Each result As BarCodeResult In reader.ReadBarCodes()
Console.WriteLine("ประเภทบาร์โค้ด: " + result.CodeTypeName)
Console.WriteLine("ข้อความบาร์โค้ด: " + result.CodeText)
Next
End Using
ฟิลด์
AllSupportedTypes
ระบุว่าข้อมูลจะถูกตรวจสอบด้วยซิมโบโลยีทั้งหมดที่มีอยู่
public static readonly MultyDecodeType AllSupportedTypes
ค่าฟิลด์
AustraliaPost
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ดของ Australia Post
public static readonly SingleDecodeType AustraliaPost
ค่าฟิลด์
AustralianPosteParcel
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ดของ Australian Post Domestic eParcel
public static readonly SingleDecodeType AustralianPosteParcel
ค่าฟิลด์
Aztec
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ดของ Aztec
public static readonly SingleDecodeType Aztec
ค่าฟิลด์
Codabar
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด CODABAR
public static readonly SingleDecodeType Codabar
ค่าฟิลด์
CodablockF
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด CodablockF
public static readonly SingleDecodeType CodablockF
ค่าฟิลด์
Code11
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด CODE 11
public static readonly SingleDecodeType Code11
ค่าฟิลด์
Code128
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด CODE 128
public static readonly SingleDecodeType Code128
ค่าฟิลด์
Code16K
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด SCode16K
public static readonly SingleDecodeType Code16K
ค่าฟิลด์
Code32
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Code32
public static readonly SingleDecodeType Code32
ค่าฟิลด์
Code39
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Code 39 charset พื้นฐาน: ISO/IEC 16388
public static readonly SingleDecodeType Code39
ค่าฟิลด์
Code39FullASCII
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Code 39 full ASCII charset: ISO/IEC 16388
public static readonly SingleDecodeType Code39FullASCII
ค่าฟิลด์
Code93
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด CODE 93
public static readonly SingleDecodeType Code93
ค่าฟิลด์
CompactPdf417
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด CompactPdf417 (Pdf417Truncated)
public static readonly SingleDecodeType CompactPdf417
ค่าฟิลด์
DataLogic2of5
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด DataLogic 2 of 5
public static readonly SingleDecodeType DataLogic2of5
ค่าฟิลด์
DataMatrix
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด DataMatrix
public static readonly SingleDecodeType DataMatrix
ค่าฟิลด์
DatabarExpanded
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar expanded
public static readonly SingleDecodeType DatabarExpanded
ค่าฟิลด์
DatabarExpandedStacked
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar expanded stacked
public static readonly SingleDecodeType DatabarExpandedStacked
ค่าฟิลด์
DatabarLimited
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar limited
public static readonly SingleDecodeType DatabarLimited
ค่าฟิลด์
DatabarOmniDirectional
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar omni-directional
public static readonly SingleDecodeType DatabarOmniDirectional
ค่าฟิลด์
DatabarStacked
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar stacked
public static readonly SingleDecodeType DatabarStacked
ค่าฟิลด์
DatabarStackedOmniDirectional
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar stacked omni-directional
public static readonly SingleDecodeType DatabarStackedOmniDirectional
ค่าฟิลด์
DatabarTruncated
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Databar truncated
public static readonly SingleDecodeType DatabarTruncated
ค่าฟิลด์
DeutschePostIdentcode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด DeutschePost Ident code
public static readonly SingleDecodeType DeutschePostIdentcode
ค่าฟิลด์
DeutschePostLeitcode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด DeutschePost Leit code
public static readonly SingleDecodeType DeutschePostLeitcode
ค่าฟิลด์
DotCode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด DotCode
public static readonly SingleDecodeType DotCode
ค่าฟิลด์
DutchKIX
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด DotCode
public static readonly SingleDecodeType DutchKIX
ค่าฟิลด์
EAN13
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด EAN-13
public static readonly SingleDecodeType EAN13
ค่าฟิลด์
EAN14
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด EAN14
public static readonly SingleDecodeType EAN14
ค่าฟิลด์
EAN8
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด EAN-8
public static readonly SingleDecodeType EAN8
ค่าฟิลด์
GS1Aztec
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Aztec
public static readonly SingleDecodeType GS1Aztec
ค่าฟิลด์
GS1Code128
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 CODE 128
public static readonly SingleDecodeType GS1Code128
ค่าฟิลด์
GS1CompositeBar
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Composite Bar
public static readonly SingleDecodeType GS1CompositeBar
ค่าฟิลด์
GS1DataMatrix
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1DataMatrix
public static readonly SingleDecodeType GS1DataMatrix
ค่าฟิลด์
GS1DotCode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 DotCode
public static readonly SingleDecodeType GS1DotCode
ค่าฟิลด์
GS1HanXin
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 Han Xin Code
public static readonly SingleDecodeType GS1HanXin
ค่าฟิลด์
GS1MicroPdf417
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MicroPdf417
public static readonly SingleDecodeType GS1MicroPdf417
ค่าฟิลด์
GS1QR
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด GS1 QR
public static readonly SingleDecodeType GS1QR
ค่าฟิลด์
HIBCAztecLIC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC LIC Aztec
public static readonly SingleDecodeType HIBCAztecLIC
ค่าฟิลด์
HIBCAztecPAS
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC PAS Aztec
public static readonly SingleDecodeType HIBCAztecPAS
ค่าฟิลด์
HIBCCode128LIC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC LIC Code128
public static readonly SingleDecodeType HIBCCode128LIC
ค่าฟิลด์
HIBCCode128PAS
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC PAS Code128
public static readonly SingleDecodeType HIBCCode128PAS
ค่าฟิลด์
HIBCCode39LIC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC LIC Code39
public static readonly SingleDecodeType HIBCCode39LIC
ค่าฟิลด์
HIBCCode39PAS
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC PAS Code39
public static readonly SingleDecodeType HIBCCode39PAS
ค่าฟิลด์
HIBCDataMatrixLIC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC LIC DataMatrix
public static readonly SingleDecodeType HIBCDataMatrixLIC
ค่าฟิลด์
HIBCDataMatrixPAS
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC PAS DataMatrix
public static readonly SingleDecodeType HIBCDataMatrixPAS
ค่าฟิลด์
HIBCQRLIC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC LIC QR
public static readonly SingleDecodeType HIBCQRLIC
ค่าฟิลด์
HIBCQRPAS
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด HIBC PAS QR
public static readonly SingleDecodeType HIBCQRPAS
ค่าฟิลด์
HanXin
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Han Xin Code
public static readonly SingleDecodeType HanXin
ค่าฟิลด์
IATA2of5
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด IATA 2 of 5 โดย IATA (สมาคมการขนส่งทางอากาศระหว่างประเทศ) ใช้บาร์โค้ดนี้ในการจัดการขนส่งทางอากาศ
public static readonly SingleDecodeType IATA2of5
ค่าฟิลด์
ISBN
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด ISBN
public static readonly SingleDecodeType ISBN
ค่าฟิลด์
ISMN
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด ISMN
public static readonly SingleDecodeType ISMN
ค่าฟิลด์
ISSN
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด ISSN
public static readonly SingleDecodeType ISSN
ค่าฟิลด์
ITF14
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด ITF14
public static readonly SingleDecodeType ITF14
ค่าฟิลด์
ITF6
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด ITF6
public static readonly SingleDecodeType ITF6
ค่าฟิลด์
Interleaved2of5
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด INTERLEAVED 2 of 5
public static readonly SingleDecodeType Interleaved2of5
ค่าฟิลด์
ItalianPost25
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Italian Post 25
public static readonly SingleDecodeType ItalianPost25
ค่าฟิลด์
MSI
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MSI Plessey
public static readonly SingleDecodeType MSI
ค่าฟิลด์
MacroPdf417
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MacroPdf417
public static readonly SingleDecodeType MacroPdf417
ค่าฟิลด์
Mailmark
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Royal Mail Mailmark
public static readonly SingleDecodeType Mailmark
ค่าฟิลด์
Matrix2of5
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Matrix 2 of 5
public static readonly SingleDecodeType Matrix2of5
ค่าฟิลด์
MaxiCode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MaxiCode
public static readonly SingleDecodeType MaxiCode
ค่าฟิลด์
MicrE13B
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MICR E-13B
public static readonly SingleDecodeType MicrE13B
ค่าฟิลด์
MicroPdf417
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MicroPdf417
public static readonly SingleDecodeType MicroPdf417
ค่าฟิลด์
MicroQR
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด MicroQR Code
public static readonly SingleDecodeType MicroQR
ค่าฟิลด์
MostCommonTypes
ระบุว่าข้อมูลจะถูกตรวจสอบด้วยซิมโบโลยีที่ใช้บ่อยที่สุด
public static readonly MultyDecodeType MostCommonTypes
ค่าฟิลด์
None
ประเภทการถอดรหัสที่ไม่ได้ระบุ
public static readonly SingleDecodeType None
ค่าฟิลด์
OPC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด OPC
public static readonly SingleDecodeType OPC
ค่าฟิลด์
OneCode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด USPS OneCode
public static readonly SingleDecodeType OneCode
ค่าฟิลด์
PZN
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด PZN ซิมโบโลยีนี้ยังเป็นที่รู้จักในชื่อ Pharma Zentral Nummer โดยรองรับ PZN7 และ PZN8
public static readonly SingleDecodeType PZN
ค่าฟิลด์
PatchCode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Patch code ซิมโบโลยีบาร์โค้ดนี้ใช้สำหรับการสแกนอัตโนมัติ
public static readonly SingleDecodeType PatchCode
ค่าฟิลด์
Pdf417
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Pdf417
public static readonly SingleDecodeType Pdf417
ค่าฟิลด์
Pharmacode
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Pharmacode ซิมโบโลยีนี้ยังเป็นที่รู้จักในชื่อ Pharmaceutical Binary Code
public static readonly SingleDecodeType Pharmacode
ค่าฟิลด์
Planet
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Planet
public static readonly SingleDecodeType Planet
ค่าฟิลด์
PostalTypes
ระบุว่าข้อมูลจะถูกตรวจสอบด้วยซิมโบโลยีบาร์โค้ด 1.5D Postal ทั้งหมด เช่น Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX
public static readonly MultyDecodeType PostalTypes
ค่าฟิลด์
Postnet
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Postnet
public static readonly SingleDecodeType Postnet
ค่าฟิลด์
QR
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด QR Code
public static readonly SingleDecodeType QR
ค่าฟิลด์
RM4SCC
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด RM4SCC RM4SCC (Royal Mail 4-state Customer Code) ใช้สำหรับกระบวนการจัดเรียงจดหมายอัตโนมัติในสหราชอาณาจักร
public static readonly SingleDecodeType RM4SCC
ค่าฟิลด์
RectMicroQR
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด RectMicroQR (rMQR) Code
public static readonly SingleDecodeType RectMicroQR
ค่าฟิลด์
SCC14
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด SCC14
public static readonly SingleDecodeType SCC14
ค่าฟิลด์
SSCC18
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด SSCC18
public static readonly SingleDecodeType SSCC18
ค่าฟิลด์
Standard2of5
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Standard 2 of 5
public static readonly SingleDecodeType Standard2of5
ค่าฟิลด์
Supplement
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Supplement(EAN2, EAN5)
public static readonly SingleDecodeType Supplement
ค่าฟิลด์
SwissPostParcel
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด Swiss Post Parcel Barcode
public static readonly SingleDecodeType SwissPostParcel
ค่าฟิลด์
Types1D
ระบุว่าข้อมูลจะถูกตรวจสอบด้วยซิมโบโลยีบาร์โค้ด 1D ทั้งหมด
public static readonly MultyDecodeType Types1D
ค่าฟิลด์
Types2D
ระบุว่าข้อมูลจะถูกตรวจสอบด้วยซิมโบโลยีบาร์โค้ด 2D ทั้งหมด
public static readonly MultyDecodeType Types2D
ค่าฟิลด์
UPCA
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด UPC-A
public static readonly SingleDecodeType UPCA
ค่าฟิลด์
UPCE
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด UPC-E
public static readonly SingleDecodeType UPCE
ค่าฟิลด์
VIN
ระบุว่าข้อมูลควรถูกถอดรหัสด้วย ข้อกำหนดบาร์โค้ด VIN (หมายเลขประจำรถ)
public static readonly SingleDecodeType VIN
ค่าฟิลด์
คุณสมบัติ
AllSupportedTypesArray
รับอาร์เรย์ที่แสดงถึง AllSupportedTypes
public static SingleDecodeType[] AllSupportedTypesArray { get; }
ค่าคุณสมบัติ
วิธีการ
GetNames()
ดึงอาร์เรย์ของชื่อประเภทการถอดรหัส
public static string[] GetNames()
คืนค่า
string[]
อาร์เรย์ของสตริงที่เป็นชื่อของประเภทการถอดรหัส
Is1D(BaseDecodeType)
ตรวจสอบว่าประเภท Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่ระบุมีซิมโบโลยีบาร์โค้ด 1D หรือไม่
public static bool Is1D(BaseDecodeType symbology)
พารามิเตอร์
symbology
BaseDecodeType
ประเภท Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่จะทดสอบ
คืนค่า
คืนค่า true หาก Aspose.BarCode.BarCodeRecognition.BaseDecodeType มีซิมโบโลยีบาร์โค้ด 1D; มิฉะนั้น คืนค่า false
Is2D(BaseDecodeType)
ตรวจสอบว่าประเภท Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่ระบุมีซิมโบโลยีบาร์โค้ด 2D หรือไม่
public static bool Is2D(BaseDecodeType symbology)
พารามิเตอร์
symbology
BaseDecodeType
ประเภท Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่จะทดสอบ
คืนค่า
คืนค่า true หาก Aspose.BarCode.BarCodeRecognition.BaseDecodeType มีซิมโบโลยีบาร์โค้ด 2D; มิฉะนั้น คืนค่า false
IsPostal(BaseDecodeType)
ตรวจสอบว่าประเภท Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่ระบุมีซิมโบโลยีบาร์โค้ด Postal หรือไม่
public static bool IsPostal(BaseDecodeType symbology)
พารามิเตอร์
symbology
BaseDecodeType
ประเภท Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่จะทดสอบ
คืนค่า
คืนค่า true หาก Aspose.BarCode.BarCodeRecognition.BaseDecodeType มีซิมโบโลยีบาร์โค้ด Postal; มิฉะนั้น คืนค่า false
Parse(string, out SingleDecodeType)
แปลงการแทนค่าของ SingleDecodeType เป็นอินสแตนซ์ ค่าที่คืนค่าจะแสดงให้เห็นว่าการแปลงสำเร็จหรือไม่
public static bool Parse(string parsingType, out SingleDecodeType result)
พารามิเตอร์
parsingType
string
สตริงที่มี SingleDecodeType ในรูปแบบ “EAN8” หรือ “EAN13” หรือ “CodaBar”… เพื่อแปลง
result
SingleDecodeType
ประเภท SingleDecodeType ที่แท้จริงจะคืนค่าหลังจากการแปลงเสร็จสมบูรณ์; มิฉะนั้นจะคืนค่าประเภทที่ไม่แน่นอน: DecodeType.None
คืนค่า
true หาก parsingType ถูกแปลงสำเร็จ; มิฉะนั้น false
ScanSets(params BaseDecodeType[])
ระบุชุดการสแกนโดย barcodeTypes
public static BaseDecodeType ScanSets(params BaseDecodeType[] barcodeTypes)
พารามิเตอร์
barcodeTypes
BaseDecodeType[]
อาร์เรย์ของประเภทการถอดรหัสแบบเดี่ยวและหลาย
คืนค่า
ประเภทการถอดรหัสหลาย
TryParse(string, out SingleDecodeType)
แปลงการแทนค่าของ SingleDecodeType เป็นอินสแตนซ์ ค่าที่คืนค่าจะแสดงให้เห็นว่าการแปลงสำเร็จหรือไม่
public static bool TryParse(string parsingType, out SingleDecodeType result)
พารามิเตอร์
parsingType
string
สตริงที่มี SingleDecodeType ในรูปแบบ “EAN8” หรือ “EAN13” หรือ “CodaBar”… เพื่อแปลง
result
SingleDecodeType
ประเภท SingleDecodeType ที่แท้จริงจะคืนค่าหลังจากการแปลงเสร็จสมบูรณ์; มิฉะนั้นจะคืนค่าประเภทที่ไม่แน่นอน: DecodeType.None
คืนค่า
true หาก parsingType ถูกแปลงสำเร็จ; มิฉะนั้น false
TryParse(string, out MultyDecodeType)
แปลงการแทนค่าของ MultyDecodeType เป็นอินสแตนซ์ ค่าที่คืนค่าจะแสดงให้เห็นว่าการแปลงสำเร็จหรือไม่
public static bool TryParse(string parsingType, out MultyDecodeType result)
พารามิเตอร์
parsingType
string
สตริงในรูปแบบ “AllSupportedTypes” หรือ “EAN8,EAN13,CodaBar” เพื่อแปลง
result
MultyDecodeType
ประเภท MultyDecodeType ที่แท้จริงจะคืนค่าหลังจากการแปลงเสร็จสมบูรณ์; มิฉะนั้นจะคืนค่าประเภทที่ไม่แน่นอน: new MultyDecodeType(DecodeType.None)
คืนค่า
true หาก parsingType ถูกแปลงสำเร็จ; มิฉะนั้น false