InsertBitmapList Method (ILEADRasterContainerCell)

Visual Basic example

Visual C++ example

 

Syntax

short InsertBitmapList(LPDISPATCH pRasterList, VARIANT_BOOL bCleanImages, long lFlag);

Overview

Refer to Using the Image Viewer

Remarks

(Medical Imaging Suite) Attaches a bitmap list to the cell.

It is best not to modify an existing bitmap list attached to the cell. However, if it is necessary to modify an attached bitmap list, follow the steps below:

1.

Get the bitmap list using the BitmapList Property.

2.

Call InsertBitmapList method with pRasterList set to NULL and bCleanImages set to FALSE.

3.

Modify the bitmap list as needed.

4.

Reattach the bitmap using InsertBitmapList.

If the cell already has a bitmap list and you call this method with pRasterList set to another valid list of bitmaps and bCleanImages set to TRUE, this method frees the current attached list and attaches the new list to the cell.

If the cell already has a bitmap list and you call this method with pRasterList set to another valid list of bitmaps and bCleanImages set to FALSE, this method will just overwrite the current list of bitmap with the new list of bitmaps. And the current list will just take up memory until the application ends.

See Also

Elements:

SubRowCount Property, SubColumnCount Property, EnableChangeOnMove Property, Individual Property, IsFit Property, Select Property, Freeze Property, RowPosition Property, ColumnPosition Property, Window Property, ShowRuler Property, ShowTags Property, RepositionCell Method, AddTag Method, RulerStyle property, BitmapList Property, Top Property, Left Property, Height Property.

Topics:

Image Viewer: Cell Properties

 

InsertBitmapList Example for Visual C++ 5.0

 

BitmapList Example for Visual Basic