SetOverlayBitmap method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetOverlayBitmap(long lOverlayIndex, long lFlags);

Overview

Refer to Overlays Overview.

Remarks

The SetOverlayBitmap method updates the stream of bytes under the "Overlay Data" (60xx, 3000) element of an overlay with the data specified by the OverlayBitmap property.

Before calling the method, set the OverlayBitmap property to the handle of the bitmap which will be used to update the overlay data.

This method will fail if the bitmap width doesn’t match the "Overlay Columns" (60xx, 0011) or if the bitmap height doesn’t match the "Overlay Rows" (60xx, 0011) for the overlay we are updating the data for.

See Also

Elements:

OverlayCount property, OverlayBitmap property, GetOverlayBitmap method, SetOverlayAttributes method, SetOverlayBitmapList method

Topics:

Overlays