Saving a Picture Box's IMAGE property 
Author Message
 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

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 ?

Tue, 14 Mar 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Saving and retrieving image control picture property in MSSQL7

2. Save the Picture Box Image to BMP 256 Grayscale format

3. Saving an Image to a file from a Picture Box

4. Saving an image from picture box to sql server

5. Save Picture Box Image to 256 Grayscale BMP Format

6. save graphics in PictureBox's Picture property

7. A problem when VB5.0's picture box reads a CMYK color-tabled image

8. Upload picture to picture box and *save*?????

9. Saving picture from a picture box using screen capturing

10. Saving/copying a own-drawn picture in a picture-box

11. Saving pictures from picture box in other formats (VB3)

12. How to save picture drawn on picture box ?


Powered by phpBB® Forum Software