Hi,
> I have an array with values and for every value I assign a color that I want
> to paint in a picture box.
> The array si 1024x1024 or larger so I need a fast routine to do the job...
> sure, the picturebox may be smaller than the whole bitmap
>
> Can somone give me a hint?
Create a new Bitmap, LockBits() to get a pointer to the bits, and set
the image bits manually. Then UnlockBits() and set the picture box's
Image to the new Bitmap.
Thanks,
- John
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit http://www.microsoft.com/security for current information on security.
Crirus - 26 Sep 2003 10:41 GMT
In VB i need that
> Hi,
>
[quoted text clipped - 15 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> Visit http://www.microsoft.com/security for current information on security.