
Saving a Picture Box's IMAGE property
In order to "print" a document to a BMP file, I have done the following:
1. I've set up a picture box on an invisible form, with the WIDTH and
HEIGHT that I require the BMP to be (The form's scalemode is vbPIXEL) The
picture box has autoredraw=true
2. I have set the picture box's SCALEWIDTH & SCALEHEIGHT to be the same as
a printer.
I can now substitute the name of the printer with the name of this picture
box.
I then use the SAVEPICTURE to save the IMAGE property, and this works.
The only problem is : It saves it as a 24 bit image ! I only require a
monochrome image.
This is a big problem, because each image is about 10 mb, and typically the
user will be printing aroung 100 documents at once.
Is there any way that I can get around this ?