How to draw a line above a picture

crystal-reports

How do you display a line above a picture in Crystal Reports? I'm currently using Crystal Reports 8.5.

I am using a jpeg image in the report, with an image header section set to “Underlay Following sections”.

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

How can I add a line that will display above the picture?

Best Answer

There's a developer-provided workaround here, using textboxes: http://scn.sap.com/thread/1916479

  1. Insert a text object and enter nothing.
  2. Change the size (the height matches the line width) and background (background color matches the line color).
  3. Right click on the text object and select Move | To Front. And then the "line" will be on top of the picture.

Unforunately, using Crystal Reports 2008, this would only allow me to shrink the textbox to a certain height (0.042 inches), which was still too big for a 1-pixel line.

Related Topic