CurrentTag property

Delphi example

C++Builder example

 

Builder Syntax

TLEADDICOMTag* CurrentTag

Delphi Syntax

CurrentTag: TLEADDICOMTag

Overview

Refer to Working with Tags.

Remarks

Holds the currently selected Data Element Tag Table item.

The TLEADDICOMTag class has the following Read-Only properties:

Property

Type

Description

Code

Cardinal

Code that indicates the tag. For a list of default values, refer to Data Element Tag Constants.

DivideVM

Cardinal

Value used to divide the value multiplicity. When multiple values are stored in the value field of a data element, the number of values present must be evenly divisible by nDivideVM. For most items nDivideVM will be 1. However, if the values stored in the value field are RGB triplets, for example, you would have to store three values for each triplet. You could store 12 values, since 12 values would be 4 triplets, however, you could not store 13 values. In this case nDivideVM would be 3.

Mask

Cardinal

Masking value. Masking allows you to insert multiple elements in the same entry in the table.

MaxVM

LongInt

Value that indicates the maximum number of values that may be stored in the Value Field of the Data Element.

MinVM

Cardinal

Value that indicates the minimum number of values that may be stored in the Value Field of the Data Element.

Name

String

Character string that contains the name of the tag. To see the default values for the Tag Names, refer to the Default Data Element Tag Table.

VR

Word

Value representation code that indicates the type of value stored in the data element. For a list of default values supported by DICOM, refer to Value Representation Constants.

Internally LEADTOOLS maintains a table or list of available tag values. These values can include default values for standard tags available in DICOM, as well as user defined tags. You can access any of this information, add to the table, or delete items from the table using the XXXTag methods. To see the default values, refer to the Default Data Element Tag Table.

Note: The CurrentTag property is read only, except that you can explicitly set it to Nil in Pascal or NULL in C++.

See Also

Elements:

DefaultTag method, InsertTag method, DeleteTag method, ResetTag method, MoveFirstTag method, MoveLastTag method, MovePrevTag method, MoveNextTag method, GetTagCount method, FindTag method, FindIndexTag method, SetTagName method