Click to See Complete Forum and Search --> : Large bitmap


shree
March 27th, 2001, 07:51 AM
How do I go about loading a large (4000x4000) bitmap on a picturebox? I need to let the user scroll through it. I am thinking about using an array of 16 1000x1000 pictureboxes. But how do I break the large bitmap into chunks programmatically?

Loading the whole picture in one go gives the 'Cannot create Autoredraw image' error.

Cimperiali
March 28th, 2001, 04:09 AM
To break an image you can use pictureclip control (see components.. microsoft windows common controls). Load the image in it, and set the nimber ow rows and cols inwhich tio split it.
Enjoy.

Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.