MergeTwoDIBs  Method

Description         This method merges two device independent bitmaps. This fmethod accepts two DIBs as parameters, as well as specify how the DIBs will be merged. True means they will be one on top of the other, and False means they will be side by side. If the DIBs have a bit depth higher than 1 and have different palettes, this method will use the palette of the first DIB, and the other DIBs will be converted.

Syntax                 lRet = [BiDib.] MergeTwoDIBs FirstDib SecondDib UnderFirstDib

Remarks             lRet                         LONGLONG Handle of the merged DIB, 0 on error.

                            FirstDib                  LONGLONG Handle of the first DIB.

                            SecondDib             LONGLONG Handle of the second DIB.

                            UnderFirstDib       BOOL             The berth of the merged DIBs.

See Also