XtraReport只打印数据不打印格式,实现票据套打
XtraReport只打印数据不打印格式,实现票据套打问题描述:
如何在报表中只打印数据不打印格式,也就是票据套打,预览时格式都可见。
C# Code:
放一个xrTable1做实验:
rpt.PrintingSystem.StartPrint = new DevExpress.XtraPrinting.PrintDocumentEventHandler(PrintingSystem_StartPrint);
private void PrintingSystem_StartPrint(object sender,DevExpress.XtraPrinting.PrintDocumentEventArgs e)
{
rpt.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.None;
}
扫一扫加作者微信