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 DLL Help

L_DicomDeleteVR

Show in webframe

#include "Ltdic.h"

L_LTDIC_API pDICOMVR L_DicomDeleteVR(pVR)

pDICOMVR pVR;

/* pointer to a DICOMVR structure */

Deletes the specified item from the Value Representation Table.

Parameter

Description

pVR

Pointer to a DICOMVR structure that contains the item to be deleted.

Returns

!NULL

A pointer to an adjacent item. If there is an item following the item being deleted, the returned pointer will point to this item. If the item being deleted does not have an item following it, but has an item preceding it, the pointer points to the item immediately preceding the deleted item.

NULL

The table is empty.

Comments

You can remove all items from the table using L_DicomResetVR.

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, Linux.

See Also

Functions:

L_DicomResetVR, L_DicomGetFirstVR, L_DicomGetLastVR, L_DicomGetPrevVR, L_DicomGetNextVR, L_DicomFindVR, L_DicomFindIndexVR, L_DicomInsertVR

Topics:

Working with Value Representations

Example

This example removes an item from the VR table

L_INT DicomDeleteVRExample(L_VOID)
{
   pDICOMVR pVR;

   pVR = L_DicomFindVR(VR_AE);
   if (pVR != NULL)
      L_DicomDeleteVR(pVR);

   return DICOM_SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.