Class AustraliaPostSettings
Именује се: Aspose.BarCode.BarCodeRecognition Асамблеја: Aspose.BarCode.dll (25.4.0)
Садржи параметре који утичу на препознате податке из симбологије АустралијаПост.
[XmlSerialization(Name = "Aspose.BarCode.Reader.Properties.BarcodeSettings.AustraliaPost")]
public sealed class AustraliaPostSettings
Inheritance
object ← AustraliaPostSettings
Наслеђени чланови
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
CustomerInformationDecoder
Јавни интерфејс за декодирање поља за информације о клијентима који се користи у Симбологији АустралијаПост.
public AustraliaPostCustomerInformationDecoder CustomerInformationDecoder { get; set; }
Вредност имовине
AustraliaPostCustomerInformationDecoder
CustomerInformationInterpretingType
Добија или поставља Тип интерпретације за информације о клијентима АустралијанПост BarCode.Default је CustomerInformationInterpretingType.Other.
[XmlSerialization(Type = XmlSerializationType.Element)]
public CustomerInformationInterpretingType CustomerInformationInterpretingType { get; set; }
Вредност имовине
CustomerInformationInterpretingType
IgnoreEndingFillingPatternsForCTable
Знаме које присиљава АустралијуПост декодер да игнорише последње шаблоне за попуњавање у пољу за информације о клијентима током декодирања као метода ЦТабел.ЦТабел метод кодирања нема празнине у табели кодирања и секунце “333” пуњења отаца је декодиран као буква “з”.
[XmlSerialization(Type = XmlSerializationType.Element)]
public bool IgnoreEndingFillingPatternsForCTable { get; set; }
Вредност имовине
Examples
Овај узор показује како генерисати и препознати Аустралијски Поштански бар код са ЦТабел Интерпретационог типа и игнорисати узорке за попуњавање.
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