Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Printing images on a CR report through code

$
0
0

Hi everyone,

 

I have a problem with printing images on my report. I have created a report with 3 images in the header. The path of the images I pass to the report through code in VB.net. I had a report viewer on my form and loaded my report in the report viewer. It showed my report perfectly, with the images. When I clicked the print button on the report viewer, it printed my report with the images.

 

Now I want to print the report directly through code and therefore I used the function PrintToPrinter. When the report is printed with this function, the images are not printed. I also tried to print the report from the report viewer through code, using the Print function from the report viewer, and also in this case the images are not printed.

 

I need to print my report through code in VB.net, because the report must be created in the background. The user of the application may not see the report and I need to have the images on my report, because they contain essential information for my report. Can someone help me fix this problem?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>