Class AztecExtCodetextBuilder
Названий на: Aspose.BarCode.Generation Асамблея: Aspose.BarCode.dll (25.4.0)
Розширений генератор кодів для кодів Aztec для розширеного режиму кодів AztecEncodeMode
Використовуйте властивість BarcodeGenerator для налаштування видимого тексту для видалення управлінських символів.
public class AztecExtCodetextBuilder : ExtCodetextBuilder
Inheritance
object ← ExtCodetextBuilder ← AztecExtCodetextBuilder
Нападні члени
ExtCodetextBuilder.Clear() , ExtCodetextBuilder.AddPlainCodetext(string) , ExtCodetextBuilder.AddECICodetext(ECIEncodings, string) , ExtCodetextBuilder.GetExtendedCodetext() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Цей зразк показує, як використовувати AztecExtCodetextBuilder в розширеному режимі.
//create codetext
AztecExtCodetextBuilder textBuilder = new AztecExtCodetextBuilder();
textBuilder.AddECICodetext(ECIEncodings.Win1251, "Will");
textBuilder.AddECICodetext(ECIEncodings.UTF8, "犬Right狗");
textBuilder.AddECICodetext(ECIEncodings.UTF16BE, "犬Power狗");
textBuilder.AddPlainCodetext("Plain text");
//generate codetext
string codetext = textBuilder.GetExtendedCodetext();
//generate
using(BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Aztec, codetext))
{
generator.Parameters.Barcode.CodeTextParameters.TwoDDisplayText = "My Text";
generator.Save("test.bmp");
}
Constructors
AztecExtCodetextBuilder()
public AztecExtCodetextBuilder()
Methods
GetExtendedCodetext()
Використовується розширений кодетек з розширеного списку кодетек.
public override string GetExtendedCodetext()
Returns
Розширений код як стрічка