SetBitmapDataPointer2 method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SetBitmapDataPointer2 (VARIANT vData, long lDataSize);

Overview

Refer to Copying and Creating Bitmaps.

Remarks

This method can be called only for user bitmaps created with the CreateUserBitmap2 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 variant. The variant must be a byte array, or this method will fail. Make sure that data pointer is cleared before the variant is freed.

See Also

Elements:

CreateBitmap method, CreateUserBitmap2 method, SetBitmapDataPointer method

Topics:

Raster Images: Creating and Deleting Images