Re: gdi+ bitmap copy constructor

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Adam Versteegen (no_at_email.com)
Date: 07/07/04


Date: Wed, 7 Jul 2004 19:39:23 -0400

Michael Phillips, Jr. wrote:

> Hi,
>
> You can create a copy by using the Clone method which is inherited from
the
> Image Class.
>
> // Make a copy of NewSign's Bitmap
> Bitmap *SignImg = NewSign.Clone();

I read somewhere that that doesn't actually give me a new seperate Bitmap
object though. I thought that internally it was still pointing to the same
Image object and that any changes to the copy would happen to the original.

Is that not the case? If not then clone is exactly what I need. If so, its
no good...

-- 
Vesty.