How do I set a Line or Box in front of the image?

14,355

Solution 1

It may not be the most elegant solution to the problem but you can use a textbox, and fill it with underscores. It will give the illusion of a line and since it will show above the image.

Note: It may not look that good in the report preview (it sometimes shows as separated dashes), but when you actually run it, export it to pdf or print it, it looks fine.

Solution 2

You should be able to right click on the image and choose Move/To Back. This will move the image to the back of the Z order.

(should is in bold because this should work, but it doesn't) :)

Edit: I realize that now that my original answer on this is incorrect. Here is a similar question for reference with some other ideas.

How to draw a line above a picture?

Solution 3

You could insert an empty text field and give it a border on the top side. In that case you simulate a line.

By moving your field to the front (or your image to the back) this 'line' will always be in front of the image.

Share:
14,355

Related videos on Youtube

Erick Robertson
Author by

Erick Robertson

I'm now a full-time game developer. I have focused on high-performance server work and Swing client work in the past. I've developed in multiple languages on multiple platforms, working seriously with Java, PHP, ASP, Unix C/C++, MS SQL Server, and MySQL. I take a very direct approach to programming. I don't bow to convention simply because it is. Remember that DOS was a standard at one point. Remember that Windows still is a standard. Does it work, yes, I suppose, most of the time it does. I would build it much differently.

Updated on April 15, 2022

Comments

  • Erick Robertson
    Erick Robertson about 2 years

    I've insert image in crystal report by following step, In the Section Expert for the section containing the image, check Underlay Following Sections. but, when some line or box created, the image still in front of them. i can't set Line or Box in front of the image