Class DotCodeExtCodetextBuilder
نام ها : Aspose.BarCode.Generation جمع آوری: WL18_.dll (25.4.0)
کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد کد
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
اضافه کردنFNC1FormatIdentifier()
اضافه کردن فرمت FNC1 به عناصر کد متن گسترش یافته
public void AddFNC1FormatIdentifier()
AddFNC3Readerآموزش()
اضافه کردن ابتکار خواننده FNC3 به عناصر کد متن گسترش یافته
public void AddFNC3ReaderInitialization()
دانلود بازی AddFNC3Symbol Separator()
اضافه کردن FNC3 نماد جدا کننده به عناصر کد متن گسترش یافته
public void AddFNC3SymbolSeparator()
AddStructuredAppendMode(int، int)
اضافه کردن حالت افزونه ساختار یافته به عناصر کد متن گسترش یافته
public void AddStructuredAppendMode(int barcodeId, int barcodesCount)
Parameters
barcodeId
int
شناسه بارکد
barcodesCount
int
بارکد شمارش
GetExtendedCodetext()
کد متن افزوده را از لیست کد متن افزوده ایجاد می کند.
public override string GetExtendedCodetext()
Returns
کدگذاری به عنوان string