Class AztecExtCodetextBuilder

Class AztecExtCodetextBuilder

Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.1.0)

Generatore di codetext esteso per codici a barre Aztec per la modalità ExtendedCodetext di AztecEncodeMode

Utilizza la proprietà TwoDDisplayText di BarcodeGenerator per impostare il testo visibile rimuovendo i caratteri di gestione.

public class AztecExtCodetextBuilder : ExtCodetextBuilder

Ereditarietà

objectExtCodetextBuilderAztecExtCodetextBuilder

Membri ereditati

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

Esempi

Questo esempio mostra come utilizzare AztecExtCodetextBuilder in modalità estesa.

//crea codetext
AztecExtCodetextBuilder textBuilder = new AztecExtCodetextBuilder();
textBuilder.AddECICodetext(ECIEncodings.Win1251, "Will");
textBuilder.AddECICodetext(ECIEncodings.UTF8, "犬Right狗");
textBuilder.AddECICodetext(ECIEncodings.UTF16BE, "犬Power狗");
textBuilder.AddPlainCodetext("Testo semplice");

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

//genera
using(BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Aztec, codetext))
{
    generator.Parameters.Barcode.CodeTextParameters.TwoDDisplayText = "Il mio testo";
	generator.Save("test.bmp");
}

Costruttori

AztecExtCodetextBuilder()

public AztecExtCodetextBuilder()

Metodi

GetExtendedCodetext()

Genera codetext esteso dall’elenco di codetext estesi.

public override string GetExtendedCodetext()

Restituisce

string

Codetext esteso come stringa

 Italiano