Class AztecExtCodetextBuilder

Class AztecExtCodetextBuilder

ja nimityö: Aspose.BarCode.Generation Kokoelma: Aspose.BarCode.dll (25.4.0)

Extended codetext generator for Aztec barcodes for ExtendedCodetext Mode of AztecEncodeMode

Käytä TwoDDisplayText ominaisuutta BarcodeGenerator asettaa näkyvä teksti poistaa hallinta merkkejä.

public class AztecExtCodetextBuilder : ExtCodetextBuilder

Inheritance

object ExtCodetextBuilder AztecExtCodetextBuilder

Perintöjäsenet

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

Tämä näyte näyttää, miten AztecExtCodetextBuilderia käytetään laajennetussa tilassa.

//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()

Tuottaa laajennetun koodetextin laajennetusta koodetextiluettelosta.

public override string GetExtendedCodetext()

Returns

string

Laajennettu koodetext kuin string

 Suomi