Is this page helpful?
Sets the name of the specified item in the Data Element Tag Table.
#include "Ltdic.h"
L_LTDIC_API L_BOOL L_DicomSetNameTag(pTag, pszName)
Pointer to a structure that contains an item in the Data Element Tag Table. The name of this item will be set using the string contained in pszName.
Character string that contains the name to be set.
Value | Meaning |
---|---|
TRUE | The name was successfully set. |
FALSE | Not enough memory. |
Win32, x64, Linux.
This example changes the name of an item in the Tag table
L_INT DicomSetNameTagExample(L_VOID)
{
pDICOMTAG pTag;
pTag = L_DicomFindTag(TAG_MEDIA_STORAGE_SOP_CLASS_UID);
if (pTag != NULL)
{
if (!L_DicomSetNameTag(pTag, TEXT("New name")))
return DICOM_ERROR_MEMORY;
}
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document