CutDIBBottom  Method

Description         The CutDIBBottom method cuts the image at the specified height. The second parameter denotes the distance in pixels from the top of the image. The CutDIBBottom only works for 1, 4, 8 and 24 bit per pixel images. If the cut is successful the HalfDIB property will contain the top of the original image, otherwise the HalfDIB propery will not change.

Syntax                 RetVal = [BIDisp.]CutDIBBottom hDib height

Returns               RetVal                    Long                If the cut is successful, it will contain the bottom of the original image, otherwise the RetVal is zero.

Remarks             hDib                       LONGLONG Device indipendent bitmap to cut.

                            height                     Long                Specifies the cutting location in pixels from the top of the image.

See Also              CutDIBTop Method, HalfDIB Property, Cut Property