Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomVR::SetName

Show in webframe

#include "Ltdic.h"

static L_BOOL LDicomVR::SetName (pVR, pszName)

pDICOMVR pVR;

/* pointer to a DICOMVR structure */

L_TCHAR * pszName;

/* character string */

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

Parameter

Description

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.

pszName

Character string that contains the name to be set.

Returns

TRUE

The name was successfully set.

FALSE

Not enough memory.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomVR::GetFirst, LDicomVR::GetLast, LDicomVR::GetPrev, LDicomVR::GetNext, LDicomVR::Find, LDicomVR::FindIndex

Topics:

Working with Value Representations

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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.