Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
Scaling images
posted

 What are some ways I can work with images?  Especially scaling them.  Can you provide some sample code?

 

For example:

Infragistics.Documents.Report.IImage siteImageHeader = headerSite.AddImage(new Infragistics.Documents.Graphics.Image(ROOT_PATH + "docImages\\test4.jpg"), 100, 100);

 

if this image is too big, can I scale it, shrink it, or something?  If it is too small can I make it bigger?  I realize I may get defects or pixelation in the image by doing that...I won't worry about that.

 

==========================

PS:  I am surprised it's been a few days and no replies on my question below!  Usually this forum is spot-on with fast replies!  I guess I should be grateful for the help I get and not complain:

http://news.infragistics.com/forums/t/5267.aspx