Labels
Demo:Labels.frx
I want to print a specified number of Labels in a page, ex
2*2
4*4
I try to do it in DataBand AfterPrint.
DataBand db = sender as DataBand;
int dbBeforeRow = db.AbsRowNo;
if(dbBeforeRow % 4== 0 && dbBeforeRow !=0)
{
Report.Engine.StartNewPage();
}
can't work
how to do?
FR.Net 1.4.39
I want to print a specified number of Labels in a page, ex
2*2
4*4
I try to do it in DataBand AfterPrint.
DataBand db = sender as DataBand;
int dbBeforeRow = db.AbsRowNo;
if(dbBeforeRow % 4== 0 && dbBeforeRow !=0)
{
Report.Engine.StartNewPage();
}
can't work
how to do?
FR.Net 1.4.39
Comments
It's better to manipulate the number of columns in the page (column count) and the page height (row count). See the attached report, you may run it in the Demo.exe.
I tested it is ok on the data based Demo.
But I changed the Cell12'Text
[Customers.Address]
to
1
2
3
4
5
6
7
8
9
10
[Customers.Address]
Preview
Number of columns: 2
Number of rows:2
Only display one row in a page
because the height of databand may change in runtime,but In Scripts, the value is fixed.