Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to set background image in the crystal report viewer so that it can be displayed in every report.
So tell me how to programmatically do it.

I had tried the following code:

VB
CrystalReportViewer1.BackgroundImage = Image.FromFile("file path")
CrystalReportViewer1.DisplayBackgroundEdge = False


but didn't display the background image.

So pls. help me.
Posted
Updated 26-Sep-11 18:19pm
v3

1 solution

CrystalReportViewer is a container control, by adding a background image to it would not reflect it in the reports which are separate objects (.rpt files). You can use following link to understand how to setup watermark on reports:
http://victoriayudin.com/2009/05/05/adding-watermarks-to-crystal-reports/[^]
This has to be done for each report file.
 
Share this answer
 
Comments
Pravin Patil, Mumbai 27-Sep-11 0:20am    
Good answer...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900