views:

476

answers:

4

Using Crystal Report 8.5

How to display a line in the above picture in crystal report?

I am using jpeg image in the report, Image header section is “Underlay Following sections” in my report. So How to insert a line in the above picture.

I added another header from the above image header section, drawn the line, then I gave the option “underlay following sections” but line is not displaying from the above picture.

How to display a line in the above picture?

Need Help.

+1  A: 

If I understand your question, you want to add a line to an image in Crystal Report. Unfortunately, you won't be able to do this with Crystal Reports. Your best option is simply to draw a line above the image. If there is an issue with placement of the line, add another section above the section that contains the image.

Craig
A: 

I've never tried to do this before now, but it appears that the Z order functions (under the Move menu- to back, to front, etc...) are not available for lines or images and it appears that the image z order is always above the line even if you have multiple sections and use the "underlay following sections" option.

My answer is that this can not be done the way you are trying to do it, but what if you try another way.

EDIT: I'm assuming that you are trying to create a strike through in the image in certain instances. Assuming that, you should be able to have 2 images (one normal and one with the line through it) that you should then be able to dynamically change based on you're criteria. You should be able to find many articles on dynamically changing the Crystal Report image. Hope this helps.

Dusty
A: 

If I understand your question correctly - In the header section, use the line tool to draw the line. It's in the CR Toolbox. Then drag your image after the line.

Saif Khan
Have you tried this? I thought the same thing until I tried it. Maybe I'm just having an off day, but no matter which one is added first the picture always displays above the line for me.
Dusty
A: 

What worked for me was to create a subreport that essentially duplicates/replaces the Details. Then the usual process of putting the image in the page header and underlaying following sections. The subreport, including its lines, appear above the watermark for me, but please note I'm using Crystal XI.

Michael Itzoe