在水晶报告中将线对象放在图片上 [英] put line object over picture in crystal report

查看:79
本文介绍了在水晶报告中将线对象放在图片上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在图片对象上画一条线。我试图向图片向后移动属性,但线条在背景中。



我还尝试使用子报表放置图像,但结果是一样的。



我想打印DUPLICATE COPY文本,左下角到桌子背面的右上角。



所以请。告诉我怎么做。

I want to draw a line on the picture object. I had tried to "Move to backward" property of the image but the line is in the background.

I had also tried to put the image using subreport but the result is same.

I want to print "DUPLICATE COPY" text with bottom left corner to top right corner on the back side of the table.

So pls. tell me how to do it.

推荐答案

1。创建2个单独的报告。第一个报告将是主报告,第二个报告将是b
$子报告。

2.将所有页眉和页脚放在主报告上。



(主报告)

3.右键单击PageHeaderSection并在下面插入部分。

4.在新的PageHeaderSection上,插入图像(您的水印)并将该部分设置为Underlay Follow Sections。



(子报告)

5.转到子报表并将数据和行放在其上。



(主报告)

6.再次,右键单击PageHeaderSection并在下面插入部分。

7.在新的PageHeaderSection上,右键单击,插入 - >子报告

8.选择在项目中选择Crystal Report ,然后单击您创建的第二份报告。

Voila!这些线条现在将位于图像的顶部!请务必删除子报告的边框。
1. Create 2 separate reports. The 1st report will be the main report and the 2nd will
be a subreport.
2. Place all page headers and footers on the main report.

(Main Report)
3. Right click on the PageHeaderSection and insert section below.
4. On the new PageHeaderSection, insert the image(your watermark) and set the section to Underlay Following Sections.

(Subreport)
5. Go to your subreport and place your data and lines on it.

(Main Report)
6. Again, right click on the PageHeaderSection and insert section below.
7. On the new PageHeaderSection, right click, Insert->Subreport
8. Select Choose a Crystal Report in a project, then click the 2nd report you've created.
Voila! The lines will be now on the top of the image! Just be sure to remove the borders of your subreport.


我相信水晶报告是不可能的 - 无论您尝试做什么,图像似乎都在前面。



您没有提供有关您正在使用的CR版本或数据来源的详细信息 - 但几年前我解决了这个问题在将图像添加到水晶之前在代码中创建我的图像 - 所以我在运行时将图像添加到报告之前。
I believe it just isn't possible with crystal reports - images seem to be in front whatever you try to do.

You don't give much information about what version of CR you're using or where the data is coming from - but I got around the issue some years ago by creating my image in code before giving it to crystal - so I drew on top of the image at run time before adding it to the report.


用线条在油漆中创建一张图片。 />
并将其插入到水晶报告中。
create one picture in paint with line.
and insert it in to crystal report.


这篇关于在水晶报告中将线对象放在图片上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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