Share via

Change the background of the image in the reports

AMER SAID 396 Reputation points
2022-07-01T11:47:10.47+00:00

I have a report using Crystal Report, I select a specific position of an image within the report and add a default image to the Picture tool.
What I want is to change the image inside the image box with the code. Use the following method to change the text inside the text box on the report.
What is the way to change the image??

crystalreport.CrystalReport1 crv = new crystalreport.CrystalReport1();  
TextObject TextEedit;  
                    TextEedit = (TextObject)crv.ReportDefinition.ReportObjects["Text1"];  
                    TextEedit.Text = "good";  
  

216928-report.png

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.