ImageEn, unit iexBitmaps

TIEDicomTags.GetTagString

TIEDicomTags.GetTagString


Declaration


function GetTagString(Index: integer): AnsiString; overload;
function GetTagString(Group: Word; Element: Word): AnsiString; overload;


Description


Returns a DICOM tag as a string. You can specify it by Group/Element or its index. You can view a list of tags at: Dicom Tag List


Example


ImageType := ImageEnView1.IO.Params.DICOM_Tags.GetTagString( tags.IndexOf($0008, $0008) );
PatientName := ImageEnView1.IO.Params.DICOM_Tags.GetTagString( tags.IndexOf($0010, $0010) );

// Alternatively
ImageType := ImageEnView1.IO.Params.DICOM_Tags.GetTagString($0008, $0008);
PatientName := ImageEnView1.IO.Params.DICOM_Tags.GetTagString($0010, $0010);


See Also


- GetTagNumeric
- IEGetDicomTagDescription
- iexMetaHelpers Unit