L_DispContainerDeleteCellTag

#include "l_bitmap.h"

L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerDeleteCellTag(hCon, nCellIndex, uRow, uAlign, uFlags)

HDISPCONTAINER hCon;

/* handle to the container */

L_INT nCellIndex;

/* index of the cell */

L_UINT uRow;

/* row index */

L_UINT uAlign;

/* flag */

L_UINT uFlags;

/* reserved for future */

Deletes a tag from the specified cell. This function is available only in the Medical Imaging Suite toolkit.

Parameter

Description

hCon

Handle to the Container.

nCellIndex

A zero-based index of the cell that contains the tag to be deleted. Pass -2 to delete the tag for the specific information in the cell selected in the container.

uRow

The number of rows to count before reaching the tag to be deleted.

uAlign

Value that specifies the origin point from which to count the rows specified in the uRow parameter. For example, if uAlign is DISPWIN_ALIGN_BOTTOMLEFT and uRow is 4, the tag is placed counting 4 rows from the bottom. Possible values are:

 

Value

Meaning

 

DISPWIN_ALIGN_TOPLEFT

[0x0000] Start counting rows from the top of the cell. The tag is left justified.

 

DISPWIN_ALIGN_LEFTCENTER

[0x0001] The tag is placed in the center, based on the height of the cell, and is left justified.

 

DISPWIN_ALIGN_BOTTOMLEFT

[0x0002] Start counting rows from the bottom of the cell. The tag is left justified.

 

DISPWIN_ALIGN_TOPCENTER

[0x0003] The tag is placed in the center, based on the width of the cell, and is top justified.

 

DISPWIN_ALIGN_BOTTOMCENTER

[0x0004] The tag is placed in the center, based on the width of the cell, and is bottom justified.

 

DISPWIN_ALIGN_TOPRIGHT

[0x0005] Start counting rows from the top of the cell. The tag is right justified.

 

DISPWIN_ALIGN_RIGHTCENTER

[0x0006] The tag is placed in the center, based on the height of the cell, and is right justified.

 

DISPWIN_ALIGN_BOTTOMRIGHT

[0x0007] Start counting rows from the bottom of the cell. The tag is right justified.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function deletes the Cell tag. The cell tag is the tag that appears on all the frames in the cell. You can create a cell tag using the function L_DispContainerSetCellTag. To create a tag that appears only on the desired frame, use L_DispContainerSetSubCellTag.

Required DLLs and Libraries

LTIVW
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_DispContainerEditCellTag, L_DispContainerGetCellTag, L_DispContainerSetCellTag, L_DispContainerDeleteSubCellTag, L_DispContainerEditSubCellTag, L_DispContainerSetSubCellTag, L_DispContainerGetSubCellTag, L_DispContainerCreate, L_DispContainerRemoveCell, L_DispContainerInsertCell, L_DispContainerGetCellCount, L_DispContainerSetCellProperties, L_DispContainerGetCellProperties

Topics:

Image Viewer Cells

 

Image Viewer Functions: Image Viewer Cells

Example

XXX