文档半岛外围网上直营>>FastReport中文文档>>示例 4.从左到右打印带有重复列的表格
示例 4.从左到右打印带有重复列的表格
private void Table1_ManualBuild(object sender, EventArgs e)
{
// printing column 0 and all of its rows
Table1.PrintColumn(0);
Table1.PrintRows();
// printing 3 copies of column 1 and all of its rows
for (int i = 0; i < 3; i++)
{
Table1.PrintColumn(1);
Table1.PrintRows();
}
// printing column 2 and all of its rows
Table1.PrintColumn(2);
Table1.PrintRows();
}
在本例中,表格中间一列打印了 3 次。结果如下

QQ交谈
在线咨询

渝公网安备
50010702500608号

客服热线