DropDIB  Method

Description         Frees up all of the allocated memory for the given DIB. The DIB handle will not be valid after you call this method. You can use this method in conjuction with any DIB loading method. Do not use to free up the hDib property of the Document Imaging OCX. Don’t call DropDIB method for the DIB stored in the hDib property of the BiDisp control. If you change the hDib property of BiDisp or set the hDib property to 0, the BiDisp.ocx deallocates the memory of the DIB internally.

Syntax                 RetVal = [BIDisp.]DropDIB Dib

Returns               RetVal                    Boolean           True on success, False otherwise.

Remarks             Dib                          LONGLONG The handle of a device independent bitmap.

See Also              LoadTiffIntoDIB Method, LoadJPEGIntoDIB Method,
LoadDIBFromFile Method, etc.