Available in the LEADTOOLS Imaging toolkit. |
Copying and Creating Bitmaps
Use the following methods for Clipboard input and output:
Use the following methods to copy the bitmap to or from a LEAD OLE Server control.
Use the following methods to copy the bitmap to or from a Picture object:
Use the following methods to copy the bitmap to or from a DIB or DDB:
Use the following property to create a bitmap from scratch:
To create a user bitmap, use the CreateUserBitmap method. The user is responsible for allocating and maintaining the bitmap data pointer. The bitmap data pointer is set using the SetBitmapDataPointer method. These methods are useful when using images obtained from the LEADTOOLS Multimedia toolkit with the Main LEADTOOLS OCX.
You can copy a control's entire list of bitmaps by assigning the BitmapList property from one control to another. You can free all of the bitmaps in the list by setting the property to 0.
You can copy one control's current bitmap to another control's current bitmap by assigning the Bitmap property from one control to the other. You can remove the current bitmap from the list (freeing the bitmap) by setting the Bitmap property to 0. When a control has only one bitmap, you do not have to set the BitmapListIndex property to specify the current bitmap.