we try to make barcode reports with several pages (code behind).
but barcode position is different from first page to another.
we have to set start position X or Y of components after insert new pages?
Code: Select all
StiReport report = new StiReport();
StiPage page = report.Pages[0];
Stimulsoft.Report.BarCodes.StiBarCode test =
new Stimulsoft.Report.BarCodes.StiBarCode(new RectangleD(0, Add_index, 10, 0.85));
test.Code = barCodevar;
test.AutoScale = false;
//test.CodeValue = test.BarCodeType.GetCode(test);
test.BarCodeType = new Stimulsoft.Report.BarCodes.StiCode39ExtBarCodeType();
test.CodeValue = test.BarCodeType.GetCode(test);
page.Components.Add(test);
Code: Select all
report.Pages[i].Height = 400;
report.Pages[i].Width = 400;