| LEADTOOLS DICOM C DLL Help > Function References > L_DicomChannelDeleteAnnotation | 
#include "Ltdic.h"
L_LTDIC_API L_UINT32 L_DicomChannelDeleteAnnotation(hDICOMWaveFormChannel, uIndex)
| HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel; | /* a DICOM waveform channel handle */ | 
| L_UINT32 uIndex; | /* index */ | 
Deletes a waveform annotation from the channel.
| Parameter | Description | 
| hDICOMWaveFormChannel | A DICOM waveform channel handle | 
| uIndex | Index to the waveform annotation to be deleted. This index is zero-based. As an example, if a channel has three waveform annotations and you are deleting the 2nd one, use an index of 1. | 
Returns
Number of annotations that are still associated with the channel after deleting this annotation.
Required DLLs and Libraries
| For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application | 
Win32, x64, Linux.
See Also
| Functions: | L_DicomChannelGetAnnotationCount, L_DicomChannelGetAnnotation, L_DicomChannelAddAnnotation | 
| Topics: | 
Example
For an example, refer to L_DicomChannelSetSamples8.