CodeText

How do you set the codetext to an expression? The properties window keeps re-populating the codetext value with the default so the code text never gets the expression.


This message was posted using Page2Forum from Working with Barcode - Aspose.BarCode for .NET

Hi,

Thank you for inquiry.

In properties window, you can set the string value as codetext. Please use the code behind file to set the codetext to an expression.

// set codetext = value of a textbox + any other string
barCodeControl1.CodeText = txtCodetext.Text + “some other string”;