> I'm trying to come up with a good way to create (on-the-fly) a bitmap to
> be used as an image for a treeview node.  I need to create the bitmap to
> be almost a thumbnail representation of changes a user makes to a much
> larger picture.  In fact, often, the bitmap shape will be the same but
> it might be colored differently.

I think I would simply use Graphics.DrawImage in a combination with a
new Bitmap to create a miniature version of your larger picture,
followed by a FillRectangle with a translucent brush of the required
color (set the alpha channel to achieve translucency). Does that
produce the effect you want?

Fabian

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to