Click here to Skip to main content
15,889,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want add a list of images in propertygrid,the user can pick one of the image to set Bitmap Property.But when I declare a field as Image ,it presents to be a small image(left) with some text(right).How can i hide the text and resize the image?
Posted

1 solution

It means that you want to stretch the image by some 100% in linear measure. Image lists usually contains very small images. All images behave badly when re-sampled in the direction of enlargement, and the results are absolutely unacceptable if the source image is small, actually, often even if you reduce the size. I just don't have enough information, to get any acceptable results.

Therefore, you need to have to prepare two versions of the image: with text and without text. Replace one with another, instead of trying to do the zoom.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900