Class BaseDecodeType

Class BaseDecodeType

ชื่อพื้นที่: Aspose.BarCode.BarCodeRecognition การประกอบ: Aspose.BarCode.dll (25.4.0)

คลาสพื้นฐานสําหรับ MultyDecodeType และ SingleDecodeType

public abstract class BaseDecodeType : IEquatable<basedecodetype>

Inheritance

object BaseDecodeType

Derived

MultyDecodeType , SingleDecodeType

Implements

IEquatable

อนุญาโตตุลาการ

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

Examples

ตัวอย่างนี้แสดงให้เห็นวิธีการใช้ BaseDecodeType กับ SingleDecodeType และ MultyDecodeType

BaseDecodeType decodeOne = DecodeType.Code128;
BaseDecodeType decodeTwo = new MultyDecodeType(DecodeType.Code128, DecodeType.Code39, DecodeType.Code39FullASCII);
Dim decodeOne As BaseDecodeType = DecodeType.Code128
Dim decodeTwo As BaseDecodeType = New MultyDecodeType(DecodeType.Code128, DecodeType.Code39, DecodeType.Code39FullASCII)

Methods

ContainsAny(พารามิ BaseDecodeType[])

กําหนดว่าใด ๆ ของประเภทการตกแต่งที่ระบุจะรวมอยู่ใน

public abstract bool ContainsAny(params BaseDecodeType[] types)

Parameters

types BaseDecodeType [ ]

ประเภทที่ต้องตรวจสอบ

Returns

bool

หมายเลขที่ถูกต้องหากประเภทใด ๆ ที่รวมอยู่ใน

Equals(SingleDecodeType)

กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.SingleDecodeType ที่ระบุไว้

public virtual bool Equals(SingleDecodeType other)

Parameters

other SingleDecodeType

A Aspose.BarCode.BarCodeRecognition.SingleDecodeType ราคาในการเปรียบเทียบกับตัวอย่างนี้

Returns

bool

จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

Equals(MultyDecodeType)

กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.MultyDecodeType ที่ระบุไว้

public virtual bool Equals(MultyDecodeType other)

Parameters

other MultyDecodeType

คะแนน Aspose.BarCode.BarCodeRecognition.MultyDecodeType เพื่อเปรียบเทียบกับตัวอย่างนี้

Returns

bool

จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

Equals(BaseDecodeType)

กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่ระบุไว้

public bool Equals(BaseDecodeType other)

Parameters

other BaseDecodeType

คะแนน Aspose.BarCode.BarCodeRecognition.BaseDecodeType เพื่อเปรียบเทียบกับตัวอย่างนี้

Returns

bool

จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

Equals(วัตถุ)

กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.BaseDecodeType ที่ระบุไว้

public override bool Equals(object obj)

Parameters

obj object

ค่า System.Object เพื่อเปรียบเทียบกับตัวอย่างนี้

Returns

bool

จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

TryParse(string, ออก SingleDecodeType)

แปลงการแสดงผล string ของ SingleDecodeType ในตัวอย่างของมันค่าคืนเงินแสดงให้เห็นว่าการแปลงประสบความสําเร็จหรือล้มเหลว

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

Parameters

parsingType string

ลวดที่มี SingleDecodeType ในรูปแบบ “EAN8” หรือ “EAN13” หรือ “CodaBar…” เพื่อแปลง

result SingleDecodeType

SingleDecodeType ที่แท้จริงจะถูกคืนเมื่อการแปลงเสร็จสมบูรณ์อย่างประสบความสําเร็จ อย่างไรก็ตามมันจะถูกคืนประเภทที่ไม่กําหนด: DecodeType.None

Returns

bool

จริง ถ้า parsingType ได้รับการแปลงอย่างประสบความสําเร็จ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

TryParse(string, ออก MultyDecodeType)

แปลงการแสดงผล string ของ MultyDecodeType ในตัวอย่างของมันค่าคืนเงินแสดงให้เห็นว่าการแปลงประสบความสําเร็จหรือล้มเหลว

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

Parameters

parsingType string

ลวดที่มีการแสดงผล MultyDecodeType เพื่อแปลง

result MultyDecodeType

MultyDecodeType ที่แท้จริงจะถูกคืนเมื่อการแปลงเสร็จสมบูรณ์อย่างประสบความสําเร็จ อย่างไรก็ตามมันจะถูกคืนประเภทที่ไม่กําหนดใหม่: MultyDecodeType(DecodeType.None)

Returns

bool

จริง ถ้า parsingType ได้รับการแปลงอย่างประสบความสําเร็จ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

TryParse(string, ออก BaseDecodeType)

แปลงการแสดงผลแถวของ BaseDecodeType ในตัวอย่างของมันหลังจากที่กําหนดประเภท concreteค่าคืนเงินแสดงให้เห็นว่าการแปลงประสบความสําเร็จหรือล้มเหลว

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

Parameters

parsingType string

ลวดที่มีการแสดงผล MultyDecodeType เพื่อแปลง

result BaseDecodeType

MultyDecodeType ที่แท้จริงจะถูกคืนเมื่อการแปลงเสร็จสมบูรณ์อย่างประสบความสําเร็จ อย่างไรก็ตามมันจะถูกคืนประเภทไม่ จํากัด: DecodeType.None

Returns

bool

จริง ถ้า parsingType ได้รับการแปลงอย่างประสบความสําเร็จ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

 แบบไทย