logo FastReport中文文档
文档首页>>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 次。结果如下
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP

欢迎来到慧都网!

请告诉我您的需求?

或留下您的联系方式

我们将尽快为您解答!

请您留言

欢迎来到慧都网,客服值守时间为:工作日9:00-12:00,13:00-17:30,或直接拨打:18166486035(微信同号)

提交