HTML Report Corrupted Image
Posted: Mon Nov 25, 2013 2:38 pm
Hello,
I created a stimulsoft report and added to the mrt file an image.
When exporting the report to PDF/Excel, the image is displayed properly, but when exporting the report to HTML, the image is corrupted.
Note that I am using the below code to define the image URL:
System.Configuration.AppSettingsReader cfg = new System.Configuration.AppSettingsReader();
string strImageURL = Convert.ToString(cfg.GetValue("LogoURL", typeof(System.String))).ToString();
objAccountsReport.imgLogo.File = strImageURL;
Please advise.
Thank you.
I created a stimulsoft report and added to the mrt file an image.
When exporting the report to PDF/Excel, the image is displayed properly, but when exporting the report to HTML, the image is corrupted.
Note that I am using the below code to define the image URL:
System.Configuration.AppSettingsReader cfg = new System.Configuration.AppSettingsReader();
string strImageURL = Convert.ToString(cfg.GetValue("LogoURL", typeof(System.String))).ToString();
objAccountsReport.imgLogo.File = strImageURL;
Please advise.
Thank you.