Class AztecExtCodetextBuilder
Именује се: Aspose.BarCode.Generation Асамблеја: Aspose.BarCode.dll (25.4.0)
Проширени генератор кода за Aztec кодове за Проширени кода за AztecEncodeMode
Користите својство TwoDDisplayText на 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
Проширење кода као строг