ImageEn, unit iexBitmaps

TIEDicomTags.SetTagByteBuffer

TIEDicomTags.SetTagByteBuffer


Declaration

procedure SetTagByteBuffer(Group, Element: Word; Buffer: pbyte; Length: integer; ReplaceIfExist: Boolean = True);


Description

Adds or replaces a byte buffer tag.
If the tag does not exist, it will be added. If the tag already exists it will be overwritten if ReplaceIfExist is true, or a second instance of the tag added if ReplaceIfExist = False.

Note: An exception is raised if the tag does not support a byte buffer value.