SetDDB method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short SetDDB (long hDC, long hBitmap, long hPalette);

Overview

Refer to Copying and Creating Bitmaps.

Remarks

Makes a copy of a device-dependent bitmap (DDB) and assigns the copy to the ILEADRaster object.

For the hPalette parameter, you can use the GetPalette method to get the palette handle.

Ordinarily, you would need a DDB only if you are using Windows API functions. Nevertheless, for simplicity, the examples in this documentation get and set a DDB without using the API.

See Also

Elements:

GetDIB method, SetDIB method, GetDDB method

Topics:

Raster Images: Exchanging Images with Other Objects