Report Page's component render position is different
Posted: Thu Aug 29, 2013 4:05 am
Hello.
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?
and page's width and height is not working... code is..
thank you.
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;