SetBitmapDataPointer method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SetBitmapDataPointer (ILEADRasterVariant * vData, long lDataSize);

Overview

Refer to Copying and Creating Bitmaps.

Remarks

This method can be called only for user bitmaps created with the CreateUserBitmap method.

If vData is empty, the method clears the bitmap data pointer by setting it to NULL.

This method makes the control use the data pointer from the ILEADRasterVariant object. The ILEADRasterVariant object must be a byte array, or this method will fail. Make sure that data pointer is cleared before the ILEADRasterVariant object is freed.

See Also

Elements:

CreateBitmap method, CreateUserBitmap method

Topics:

Raster Images: Creating and Deleting Images