Firstly, I have this code.
- Code: Select all
public string CreateBarcodeCreate(string BarcodeText,string by,string subject,string id)
string barcodeSavePath = HttpContext.Current.Server.MapPath(this._barcodePath + id.ToString() + ".png");
BarcodeSettings setting = new BarcodeSettings();
setting.Data = BarcodeText + by + subject + id;
setting.Type = BarCodeType.Code128;
// setting.TopText = BarcodeText + by + subject + id;
and I am trying to print out the top text in the format similar to what was produced in the example C app.
However TopText is not working, and the only way I can get this text on the barcode is if I put it in Data.
Secondly, If this bar code is scan. What will be returned? Everything entered in setting.data?
PS : I have removed the logo, but if i leave both data and toptext blank it shows "12345" as a default