LDicomVR::SetName

#include "Ltdic.h"

static L_BOOL LDicomVR::SetName (pVR, pszName)

Sets the name of the specified item in the Value Representation Table.

Parameters

pDICOMVR pVR

Pointer to a structure that contains an item in the Value Representation Table. The name of this item will be set using the string contained in pszName.

L_TCHAR * pszName

Character string that contains the name to be set.

Returns

Value Meaning
TRUE The name was successfully set.
FALSE Not enough memory.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

This example changes the name of an item in the VR table.

L_INT LDicomVR_SetNameExample() 
{ 
   pDICOMVR pVR; 
 
   pVR = LDicomVR::Find(VR_AE); 
   if (pVR != NULL) 
   { 
      LDicomVR::SetName(pVR, TEXT("New name")); 
   } 
 
   return DICOM_SUCCESS; 
} 

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help