如何在打印纸上不包含Crystal Report的背景图像 [英] How to NOT include Crystal Report's background image on the printed paper

查看:91
本文介绍了如何在打印纸上不包含Crystal Report的背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

是否可以不包含Crystal Report的背景图片。 我有一份现有的Crystal Report * .rpt for Delivery Order Form,它有一张基于图片的公司背景图片(jpg)。 但该公司还有一个现有的 
预先打印的交货单表格纸。 是否有可能不在打印纸上包含Crystal Report(rpt)的背景图像? 

Is it possible NOT to include the background image of my Crystal Report .  I have an existing Crystal Report *.rpt for Delivery Order Form which has a company background image based on a picture(jpg).  But the company also has an existing  pre printed Delivery Order Form paper.  Is it possible not to include the backround image from the Crystal Report(rpt) on the printed paper?? 

基本上我希望完成的是,我希望用户能够能够从他们的计算机上看到具有背景的报告,如果他们决定在预先打印的交货单纸质表格上打印报告,我不想在
水晶报告(rpt)中包含背景图像。

Basically what I'm hoping to accomplish is, I want the users to be able to see the Report from their Computer with the background, and if they decide to print it on a pre printed Delivery Order paper form, I don't want to include the backround image from the Crystal Report(rpt).



先谢谢。 


Thanks in Advance. 

问候,

 

Jason Obina

Jason Obina

推荐答案

创建一个打印按钮并执行以下操作

Create a button for printing and do something like this

Report.ReportDefinition.ReportObjects.Item(" yourimagecontrolname")。ObjectFormat.EnableSuppress = True

Report.ReportDefinition.ReportObjects.Item("yourimagecontrolname").ObjectFormat.EnableSuppress = True

然后刷新报告并打印出来

then refresh the report and print it

打印后您可以设置EnableSupress = False并再次刷新报告

after printing you can set EnableSupress = False and Refresh the report again

 

希望这会对您有所帮助,

Hope this will help you,

 


这篇关于如何在打印纸上不包含Crystal Report的背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆