ImageEn, unit iexBitmaps

TIEDicomTags.DeleteTag

TIEDicomTags.DeleteTag


Declaration

procedure DeleteTag(Index: integer); overload;
procedure DeleteTag(Group, Element: Word; DeleteAllInstances: boolean = false); overload;


Description

Removes a tag from the Dicom tag list. You can specify it by Group/Element or its index.
If DeleteAllInstances is true, DeleteTag removes all instances of this tag.


Example

// removes patient name
ImageEnView1.IO.Params.DICOM_Tags.DeleteTag( tags.IndexOf($0010, $0010) );

// Or
ImageEnView1.IO.Params.DICOM_Tags.DeleteTag($0010, $0010);