利用Spread for WinForm控件的PrintInfo类的重复打印功能,实现类似页眉的打印,代码如下所示
printInfo.RepeatRowStart = 0
printInfo.RepeatRowEnd = 0;
printInfo.RepeatColStart = 0;
printInfo.RepeatColEnd = 11;
printInfo.Preview = true;
this.fpSpread1.ActiveSheet.PrintInfo = printInfo;
另外还想实现类似页脚的打印,如下图所示:
QQ截图20130122171645.jpg
(130.56 KB, 下载次数: 138)
|
|