ImageEn, unit iexBitmaps

TIEDicomTags.FindNestedTag

TIEDicomTags.FindNestedTag


Declaration

function FindNestedTag(Group, Element: Word; out Index: integer; StartFrom: TIEDicomTags = nil): TIEDicomTags;
function FindNestedTag(Group, Element: Word; out Index: integer; StartFrom: TObjectList): TIEDicomTags;


Description

Returns the index of tag identified by Group and Element. It searches for the tag within nested tags.

You can view a list of tags at: Dicom Tag List


Example

var
  Index: integer;
  Tags: TIEDicomTags;
begin
  ImageEnView1.IO.LoadFromFile('input.dcm');
  Tags := imageenview1.IO.Params.DICOM_Tags.FindNestedTag($18, $1042, Index);
  if Index > -1 then
    ShowMessage( Tags.GetTagString(Index) );
end;