Solved

want resize the image with Uniformtofill

Posted on 2009-07-10
2
730 Views
Last Modified: 2013-11-12
i have an image. i want resize the image to place inside a placeholder. i want the image to be Uniformtofill. I think its all a mathamatical calulation with width and height. can anyone give this calculation? thanks in advance.
0
Comment
Question by:x1877
2 Comments
 
LVL 11

Accepted Solution

by:
vo1d earned 250 total points
ID: 24834016
take a look at this:
http://mironabramson.com/blog/post/2007/10/Resize-images-%27on-the-fly%27-while-uploading.aspx

t think, it is the ResizeOptions.MaxWidthAndHeight, what you are looking for.
0
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 250 total points
ID: 24835559
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question