Home All Groups Group Topic Archive Search About

How do I put bitmaps/images in front of another bitmap?

Author
2 May 2006 8:50 AM
PrettySneaky
Hi!

I'm working on a webcontrol that uses ComponentArt's WebChart to render
charts. Unfortunately ComponentArt's component doesn't support drawing
additional stuff after it has finished rendering the chart. Well, there
is a way but then you loose the areamap which the component also
creates.

To fix my problem I want to use layers or something to place images in
front of the image that the web chart component renders. Is there an
easy way to do this on serverside in asp.net?

Author
2 May 2006 7:29 PM
Nathan Sokalski
The only way I know of is to use CSS's absolute and relative positioning.
However, if you plan to be doing a lot of this, I might look into writing
some custom classes or controls to use with it, because when people resize
their screens or the content changes (text gets added/removed/changed,
etc.), things can get very complicated and end up in places you didn't
expect, so I might also suggest looking for some other way such as writing a
class using GDI+ that combines the bitmaps into a single image for you, it
might be safer that way. Good Luck!
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

<PrettySne***@gmail.com> wrote in message
Show quoteHide quote
news:1146559856.097379.263840@y43g2000cwc.googlegroups.com...
>
> Hi!
>
> I'm working on a webcontrol that uses ComponentArt's WebChart to render
> charts. Unfortunately ComponentArt's component doesn't support drawing
> additional stuff after it has finished rendering the chart. Well, there
> is a way but then you loose the areamap which the component also
> creates.
>
> To fix my problem I want to use layers or something to place images in
> front of the image that the web chart component renders. Is there an
> easy way to do this on serverside in asp.net?
>