How to access a Icons different sizes during runtime?

W

Walter Quirtmair

Hello,
I have a simple Form with a PictureBox that I'm assigning a ico-File during
Design-Time.

Depending on SizeMode and current size it displays the correct Icon of size
16x16, 24x24, etc.

Now I need to access the Icon behind that PictureBox during runtime and
extract the different sizes 16x16, 24x24 etc. How can I do this?

Thanks,
Walter
 
H

Herfried K. Wagner [MVP]

Hallo Walter!

Walter Quirtmair said:
I have a simple Form with a PictureBox that I'm assigning a ico-File
during Design-Time.

Depending on SizeMode and current size it displays the correct Icon of
size 16x16, 24x24, etc.

Now I need to access the Icon behind that PictureBox during runtime and
extract the different sizes 16x16, 24x24 etc. How can I do this?

..NET Icon Explorer
<URL:http://vbaccelerator.com/article.asp?id=4567>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top