网格线在打印时无法显示出来
添加表格后,网格线在打印时无法正常显示,需要通过设置Format Table属性进行设置,我想问一下,这个属性如何在代码中设置。 回复 1楼落漠的帖子你好,设置方法如下:
this.textControl1.Tables.Add(10, 10, 11);
TXTextControl.Table tb = this.textControl1.Tables.GetItem(11);
foreach (TXTextControl.TableCell cell in textControl1.Tables.GetItem(11).Cells)
{
cell.CellFormat.LeftBorderWidth = 1;
cell.CellFormat.RightBorderWidth = 1;
cell.CellFormat.TopBorderWidth = 1;
cell.CellFormat.BottomBorderWidth = 1;
}
谢谢。。。 回复 3楼落漠的帖子
:itwn:
页:
[1]