Hi,
I need to change the image when exporting to pdf because I want the image to be 300 dpi when printing and 72 when viewing on the webpage.
I have tried this with no success:
The report is called Profit and the images is in projects resource file.
Can you help me?
/Mattias
I need to change the image when exporting to pdf because I want the image to be 300 dpi when printing and 72 when viewing on the webpage.
I have tried this with no success:
| private void pictureBox1_ItemDataBound(object sender, EventArgs e) |
| { |
| HttpContext context = System.Web.HttpContext.Current; |
| System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Profit)); |
| if (context != null) |
| pictureBox1.Value = ((object)resources.GetObject("logo72dpi")); |
| else |
| pictureBox1.Value = ((object)resources.GetObject("logo300dpi")); |
| } |
Can you help me?
/Mattias