XtraReport只打印数据不打印格式,实现票据套打
XtraReport只打印数据不打印格式,实现票据套打问题描述:
如何在报表中只打印数据不打印格式,也就是票据套打,预览时格式都可见。
扫一扫加作者微信
如何在报表中只打印数据不打印格式,也就是票据套打,预览时格式都可见。
C# Code:
放一个xrTable1做实验:
rpt.PrintingSystem.StartPrint = new DevExpress.XtraPrinting.PrintDocumentEventHandler(PrintingSystem_StartPrint);
private void PrintingSystem_StartPrint(object sender,DevExpress.XtraPrinting.PrintDocumentEventArgs e)
{
//需要先公开xrTable1
rpt.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.None;
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
放一个xrTable1做实验:
rpt.PrintingSystem.StartPrint = new DevExpress.XtraPrinting.PrintDocumentEventHandler(PrintingSystem_StartPrint);
private void PrintingSystem_StartPrint(object sender,DevExpress.XtraPrinting.PrintDocumentEventArgs e)
{
//需要先公开xrTable1
rpt.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.None;
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
扫一扫加作者微信
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网