views:

45

answers:

1

I'm trying to make a button which displays an image and is active only where that image is at least partially opaque. How do I take the Image and get a Region that I can set on the button?

+1  A: 

Perhaps this article will help you. It shows how to take a bitmap and create a region from it.

http://www.bobpowell.net/region_from_bitmap.htm

Chris Dunaway