Class DotCodeExtCodetextBuilder
Pôvodný názov: Aspose.BarCode.Generation Zhromaždenie: Aspose.BarCode.dll (25.4.0)
Rozšírený kódový generátor pre 2D DotCode barové kódy pre Rozšírený kódový režim DotCodeEncodeMode
public class DotCodeExtCodetextBuilder : ExtCodetextBuilder
Inheritance
object ← ExtCodetextBuilder ← DotCodeExtCodetextBuilder
Z dedičných členov
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
AddFNC1FormatIdentifikátor()
Ads FNC1 formát identifikátor na rozšírené textové položky
public void AddFNC1FormatIdentifier()
AddFNC3ReaderInitializácia()
Ads FNC3 čítačka inicializácia na rozšírené textové položky
public void AddFNC3ReaderInitialization()
AddFNC3SymbolSeparátor()
Pridať FNC3 symbol separátor na rozšírené textové položky
public void AddFNC3SymbolSeparator()
AddStructuredAppendMode(a int, int)
Ads štruktúrovaný režim prílohy na rozšírené textové položky
public void AddStructuredAppendMode(int barcodeId, int barcodesCount)
Parameters
barcodeId
int
Identifikácia Barcode
barcodesCount
int
Barkód počítanie
GetExtendedCodetext()
Vytvára rozšírený kódový text z rozšíreného zoznamu kódového textu.
public override string GetExtendedCodetext()
Returns
Rozšírený text ako string