Class AztecExtCodetextBuilder

Class AztecExtCodetextBuilder

نام ها : Aspose.BarCode.Generation جمع آوری: WL18_.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

string

کدگذاری به عنوان string

 فارسی