Class MultyDecodeType
ชื่อพื้นที่: Aspose.BarCode.BarCodeRecognition การประกอบ: Aspose.BarCode.dll (25.4.0)
ประเภท Decode Composite
public class MultyDecodeType : BaseDecodeType, IEquatable<basedecodetype>, IEquatable<multydecodetype>
Inheritance
object ← BaseDecodeType ← MultyDecodeType
Implements
อนุญาโตตุลาการ
BaseDecodeType.ContainsAny(params BaseDecodeType[]) , BaseDecodeType.Equals(SingleDecodeType) , BaseDecodeType.Equals(MultyDecodeType) , BaseDecodeType.Equals(BaseDecodeType) , BaseDecodeType.Equals(object) , BaseDecodeType.TryParse(string, out SingleDecodeType) , BaseDecodeType.TryParse(string, out MultyDecodeType) , BaseDecodeType.TryParse(string, out BaseDecodeType) , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
ตัวอย่างนี้แสดงให้เห็นว่าวิธีการสร้างประเภท MultyDecode ที่รวมประเภท SingleDecodeType และ MultiDecode
MultyDecodeType types1 = new MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix);
MultyDecodeType types2 = new MultyDecodeType(types1, DecodeType.Code128, DecodeType.Code39);
Dim multyType1 As MultyDecodeType
multyType1 = New MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix)
Dim multyType2 As MultyDecodeType
multyType2 = New MultyDecodeType(multyType1, DecodeType.Code128, DecodeType.Code39)
Constructors
MultyDecodeType(params SingleDecodeType[])
เปิดตัวตัวอย่างใหม่ของ Class Aspose.BarCode.BarCodeRecognition.MultyDecodeType
public MultyDecodeType(params SingleDecodeType[] barcodeTypes)
Parameters
barcodeTypes
SingleDecodeType
[ ]
ประเภทเดี่ยว decode
MultyDecodeType(พารามิ BaseDecodeType[])
เปิดตัวตัวอย่างใหม่ของ Class Aspose.BarCode.BarCodeRecognition.MultyDecodeType
public MultyDecodeType(params BaseDecodeType[] barcodeTypes)
Parameters
barcodeTypes
BaseDecodeType
[ ]
ประเภท decode multy และ single
Properties
GetSingleTypesCount
กลับหลายประเภทเดียว
public int GetSingleTypesCount { get; }
คุณสมบัติมูลค่า
Methods
Add(SingleDecodeType)
เพิ่ม Aspose.BarCode.BarCodeRecognition.SingleDecodeType ไปยัง MultyDecodeType
public void Add(SingleDecodeType singleType)
Parameters
singleType
SingleDecodeType
A Single DecodeType ที่จะเพิ่มลงในรายการ
ContainsAll(พารามิ BaseDecodeType[])
ตรวจสอบว่านี้มีประเภททั้งหมดจากประเภทรหัสบาร์
public bool ContainsAll(params BaseDecodeType[] barcodeTypes)
Parameters
barcodeTypes
BaseDecodeType
[ ]
ประเภทบาร์โค้ดเดียวหรือหลายรายการ
Returns
หมายเลขที่ถูกต้องหากประเภททั้งหมดรวมอยู่ใน
ContainsAny(พารามิ BaseDecodeType[])
มีประเภทใด ๆ
public override bool ContainsAny(params BaseDecodeType[] decodeTypes)
Parameters
decodeTypes
BaseDecodeType
[ ]
ประเภท Decode
Returns
หมายเลขที่ถูกต้องหากประเภทใด ๆ ที่รวมอยู่ใน
Equals(MultyDecodeType)
กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.MultyDecodeType ที่ระบุไว้
public override bool Equals(MultyDecodeType other)
Parameters
other
MultyDecodeType
คะแนน Aspose.BarCode.BarCodeRecognition.MultyDecodeType เพื่อเปรียบเทียบกับตัวอย่างนี้
Returns
จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..
Equals(วัตถุ)
กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.MultyDecodeType ที่ระบุไว้
public override bool Equals(object obj)
Parameters
obj
object
ค่า System.Object เพื่อเปรียบเทียบกับตัวอย่างนี้
Returns
จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..
Exclude(SingleDecodeType)
ลบ Aspose.BarCode.BarCodeRecognition.SingleDecodeType จาก MultyDecodeType และกลับตัวอย่าง MultyDecodeType ใหม่
public MultyDecodeType Exclude(SingleDecodeType singleType)
Parameters
singleType
SingleDecodeType
A Single DecodeType จะถูกยกเลิก
Returns
ตัวอย่าง MultyDecodeType ใหม่พร้อมตัวอย่าง SingleDecodeType ที่ถูกยกเลิก
GetHashCode()
กลับรหัส hash สําหรับตัวอย่างนี้
public override int GetHashCode()
Returns
32 บิตลงชื่อรหัส hash ทั้งหมด
GetSingleTypes()
แสดงรายการของประเภทเดียว
public List<singledecodetype> GetSingleTypes()
Returns
List < SingleDecodeType >
รายการประเภทเดียว
ToString()
Method Overridden represents MultyDecodeType as a string
public override string ToString()
Returns
ลวดแสดงตัวอย่าง MultyDecodeType เป็น “singleDecodeType1, singleDecodeType2, …”
กลับเมื่อประเภททั้งหมดรวมไว้
TryParse(string, ออก MultyDecodeType)
แปลงการแสดงผล string ของ MultyDecodeType ในตัวอย่างของมันค่าคืนเงินแสดงให้เห็นว่าการแปลงประสบความสําเร็จหรือล้มเหลว
public static bool TryParse(string parsingType, out MultyDecodeType result)
Parameters
parsingType
string
แถวในรูปแบบทั้ง “AllSupportedTypes” หรือ “EAN8,EAN13,CodaBar” เพื่อแปลง
result
MultyDecodeType
MultyDecodeType จริงจะกลับมาเมื่อการแปลงเสร็จสมบูรณ์อย่างประสบความสําเร็จ
ไม่ว่ามันจะกลับประเภทไม่ จํากัด Aspose.BarCode.BarCodeRecognition.DecodeType.None หรือ MultyDecodeType (“ไม่มี”).
Returns
จริง หาก s ได้รับการแปลงอย่างประสบความสําเร็จ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..