Class DotCodeExtCodetextBuilder

Class DotCodeExtCodetextBuilder

اسم الفضاء : Aspose.BarCode.Generation تجميع: Aspose.BarCode.dll (25.4.0)

محرك الكود الموسع لـ 2D DotCode لـ ExtendedCodetext Mode لـ DotCodeEncodeMode

public class DotCodeExtCodetextBuilder : ExtCodetextBuilder

Inheritance

object ExtCodetextBuilder DotCodeExtCodetextBuilder

الأعضاء الموروثين

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

//Extended codetext mode
//create codetext
DotCodeExtCodetextBuilder textBuilder = new DotCodeExtCodetextBuilder();
textBuilder.AddFNC1FormatIdentifier();
textBuilder.AddECICodetext(ECIEncodings.Win1251, "Will");
textBuilder.AddFNC1FormatIdentifier();
textBuilder.AddECICodetext(ECIEncodings.UTF8, "犬Right狗");
textBuilder.AddFNC1FormatIdentifier();
textBuilder.AddECICodetext(ECIEncodings.UTF16BE, "犬Power狗");
textBuilder.AddPlainCodetext("Plain text");
textBuilder.AddFNC3SymbolSeparator();
textBuilder.AddFNC3ReaderInitialization();
textBuilder.AddPlainCodetext("Reader initialization info");

//generate codetext
string codetext = textBuilder.GetExtendedCodetext();    

//generate
using(BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DotCode, codetext))
{
    generator.Parameters.Barcode.DotCode.DotCodeEncodeMode = DotCodeEncodeMode.ExtendedCodetext;
	generator.Save("test.bmp");
}

Constructors

DotCodeExtCodetextBuilder()

public DotCodeExtCodetextBuilder()

Methods

AddFNC1Formatالمعرفة()

إضافات لتحديد تنسيق FNC1 إلى عناصر النص الموسعة

public void AddFNC1FormatIdentifier()

AddFNC3Readerالمبادرة()

إضافة FNC3 قارئ المبادرة إلى عناصر النص الموسعة

public void AddFNC3ReaderInitialization()

AddFNC3Symbolتفريق()

إضافة FNC3 رمز الانفصال إلى عناصر النص الموسعة

public void AddFNC3SymbolSeparator()

AddStructuredAppendMode(إنت، إنت)

الإضافات في وضع الإضافات المنظمة إلى عناصر النص الموسعة

public void AddStructuredAppendMode(int barcodeId, int barcodesCount)

Parameters

barcodeId int

معرف الباركود

barcodesCount int

عدد الباركود

GetExtendedCodetext()

تنتج النص الموسع من قائمة النص الموسع.

public override string GetExtendedCodetext()

Returns

string

توسيع النص كسلسلة

 عربي