PrintDIBPageExt2 Method

Description         Prints a device independent bitmap.

Syntax                 RetVal = [BIPrint.] PrintDIBPageExt2 Dib iScaleX1 iScaleX2 iScaleY1 iSacleY2 CurPage xStart yStart

Returns               RetVal                  Integer             It is zero on success or error code on error.

Remarks             Dib                        LONGLONG Device independent bitmap to print.

                            iScaleX1                Integer            Image scaling factor 1 for  X axis.
Scaling in X axis = iScaleX1:iScaleX2
1:3 increase the image width by three times.
1:1 keeps image original width.

                            iScaleX2                Integer            Image scaling factor 2 for  X axis.
Scaling in X axis = iScaleX1:iScaleX2
1:3 increase the image width by three times.
1:1 keeps image original width.

                            iScaleY1                Integer            Image scaling factor 1 for  Y axis.
Scaling in Y axis = iScaleY1:iScaleY2
1:3 increase the image height by three times.
1:1 keeps image original height.

                            iScaleY2                Integer            Image scaling factor 1 for  Y axis.
Scaling in Y axis = iScaleY1:iScaleY2
1:3 increase the image height by three times.
1:1 keeps image original height.

                            CurPage                Integer             The actual page number.

                            xStart                     Integer             The X starting position in a page.

                            yStart                     Integer             The Y starting position in a page.

Usage                  Using this method it is possible to print more than one DIB to a page. Use the xStart and yStart parameter to suit a DIB on the page. Use the EndPrint method to finish the printing procedure.

See Also              PrepareToPrint Method, EndPrint Method, PrintingScaleTop Property, PrintingScaleRight Property, PrintingScaleLeft Property, PrintingScaleBottom Property, PrintDIBPageEx Method