barcode?
Posted: Thu Jul 07, 2011 3:56 am
hi..
how to change barcode type from code?
thanks
how to change barcode type from code?
thanks
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Code: Select all
StiReport report = new StiReport();
report.Load();
StiBarCode barCode1 = report.GetComponents()["BarCode1"] as StiBarCode;
bc.BarCodeType = new StiEAN8BarCodeType(13F, 1F, Stimulsoft.Report.BarCodes.StiEanSupplementType.None, null, true);
//bc.BarCodeType = new StiEAN13BarCodeType(13F, 1F, Stimulsoft.Report.BarCodes.StiEanSupplementType.None, null, true);
//...
report.Design();
Code: Select all
StiReport report = new StiReport();
report.Load();
StiBarCode barCode1 = report.GetComponents()["BarCode1"] as StiBarCode;
barCode1.BarCodeType = new StiEAN8BarCodeType(13F, 1F, Stimulsoft.Report.BarCodes.StiEanSupplementType.None, null, true);
//barCode1.BarCodeType = new StiEAN13BarCodeType(13F, 1F, Stimulsoft.Report.BarCodes.StiEanSupplementType.None, null, true);
//...
report.Compile();
report.Render();
report.Show();