Class AustraliaPostSettings
İsim alanı : Aspose.BarCode.BarCodeRecognition Toplama: Aspose.BarCode.dll (25.4.0)
AvustralyaPost kodlama parametreleri. AvustralyaPost sembolizminin tanınan verileri etkileyen parametreleri içerir.
[XmlSerialization(Name = "Aspose.BarCode.Reader.Properties.BarcodeSettings.AustraliaPost")]
public sealed class AustraliaPostSettings
Inheritance
object ← AustraliaPostSettings
mirasçı üyeleri
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
CustomerInformationDecoder
Müşteri Bilgileri alanı dekodasyonu için kamu arayüzü, AvustralyaPost sembolojisinde kullanılır.
public AustraliaPostCustomerInformationDecoder CustomerInformationDecoder { get; set; }
Mülkiyet Değer
AustraliaPostCustomerInformationDecoder
CustomerInformationInterpretingType
AvustralyaPost BarCode.Default’ın Müşteri Bilgileri için Çeviri Türünü alır veya ayarlar.Default’ın Müşteri Bilgileri Çeviri Türüdür.
[XmlSerialization(Type = XmlSerializationType.Element)]
public CustomerInformationInterpretingType CustomerInformationInterpretingType { get; set; }
Mülkiyet Değer
CustomerInformationInterpretingType
Anasayfa GÜNCELLEMELİ İLGİLİ HABER
AvustralyaPost dekodörü, CTable yöntem olarak dekodasyon sırasında Müşteri Bilgi Alanı’nda son doldurma desenlerini görmezden gelmeye zorlayan bayrak.CTable kodlama yöntemi kodlama tablosunda herhangi bir boşluk yoktur ve doldurma babalarının “333” sequnce “z” harfi olarak dekodlanır.
[XmlSerialization(Type = XmlSerializationType.Element)]
public bool IgnoreEndingFillingPatternsForCTable { get; set; }
Mülkiyet Değer
Examples
Bu örnek, CTable Interpreting Type ile Avustralya Post çubuğu kodunu nasıl oluşturacağınızı ve nasıl tanıyacağınızı ve doldurma desenlerini görmezden geleceğinizi gösterir.
using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.AustraliaPost, "5912345678AB"))
{
generator.Parameters.Barcode.AustralianPost.AustralianPostEncodingTable = CustomerInformationInterpretingType.CTable;
using (Bitmap image = generator.GenerateBarCodeImage())
using (BarCodeReader reader = new BarCodeReader(image, DecodeType.AustraliaPost))
{
reader.BarcodeSettings.AustraliaPost.CustomerInformationInterpretingType = CustomerInformationInterpretingType.CTable;
reader.BarcodeSettings.AustraliaPost.IgnoreEndingFillingPatternsForCTable = true;
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("BarCode Type: " + result.CodeType);
Console.WriteLine("BarCode CodeText: " + result.CodeText);
}
}
}
Using generator As New BarcodeGenerator(EncodeTypes.AustraliaPost, "5912345678AB")
generator.Parameters.Barcode.AustralianPost.AustralianPostEncodingTable = CustomerInformationInterpretingType.CTable
Using image As Bitmap = generator.GenerateBarCodeImage()
Using reader As New BarCodeReader(image, DecodeType.AustraliaPost)
reader.BarcodeSettings.AustraliaPost.CustomerInformationInterpretingType = CustomerInformationInterpretingType.CTable
reader.BarcodeSettings.AustraliaPost.IgnoreEndingFillingPatternsForCTable = True
For Each result As BarCodeResult In reader.ReadBarCodes()
Console.WriteLine("BarCode Type: " + result.CodeTypeName)
Console.WriteLine("BarCode CodeText: " + result.CodeText)
Next
End Using
End Using
End Using