image in trichviewedit
Posted: Wed Dec 10, 2014 9:46 pm
I have an image that has a resolution of 600 dpi (actually I have one that has even greater resolution). If I scale this down to display resolution (72 or 96 dpi), it looks bad when printed.
If I leave the resolution at 600 and manually resize it in the control at runtime, it looks okay when printed. If I don't resize it, if of course is very large when displayed or printed.
My question is how to resize this in code, if possible, so that it displays and prints so it looks fine.
FYI: right now, i'm simply loading from a file (PNG) and adding it to a table:
If I leave the resolution at 600 and manually resize it in the control at runtime, it looks okay when printed. If I don't resize it, if of course is very large when displayed or printed.
My question is how to resize this in code, if possible, so that it displays and prints so it looks fine.
FYI: right now, i'm simply loading from a file (PNG) and adding it to a table:
Code: Select all
logo.LoadFromFile(logoFilePath);
table.Cells[0,0].AddPictureEx('logo', logo, 1, rvvaLeft);