CurrentElement property
Builder Syntax |
TDICOMDSElement* CurrentElement |
Delphi Syntax |
CurrentElement: TDICOMDSElement |
Overview |
Refer to Working with Data Sets. |
Remarks
Holds the currently selected Data Set Element.
The TDICOMDSElement class has the following Read-Only properties:
Property |
Type |
Description |
hElement |
Cardinal |
Memory handle that can be used to uniquely identify a Data Element. |
Length |
Integer |
Length of the value stored in the data element. If the stored value is a sequence, this value will be ELEMENT_LENGTH_MAX ($FFFFFFFF). |
Tag |
Cardinal |
Data element tag. For a list of default values, refer to Data Element Tag Constants. |
VR |
Word |
Value representation. For a list of default values supported by DICOM, refer to Value Representation Constants. |
When a data set is loaded from a DICOM file, only the tag, the value representation and the length of the stored value data are actually loaded. This information is stored in the CurrentElement property. You can access and modify this data set information, add to the data set, or delete items from the data set.
Note: The CurrentElement property is read only, except that you can explicitly set it to Nil in Pascal or NULL in C++.
See Also