CurrentTag property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

LEADDICOMTag CurrentTag

Overview

Refer to Working with Tags.

Remarks

Holds the currently selected Data Element Tag Table item.

CurrentTag has the following Read-Only properties:

Property

Type

Description

Code

long

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

Mask

long

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

Name

BSTR

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

short

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.

MinVM

long

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

MaxVM

long

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

DivideVM

long

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.

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.

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

Topics:

Data Element Tags: Maneuvering Through the Data Element Tag Table

 

Data Element Tags: Searching the Data Element Tag Table

 

Data Element Tags: Inserting and Deleting Data Element Tags

 

Data Element Tags: Modifying an Existing Data Element Tag