Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DeleteAnnotation Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformChannel Class : DeleteAnnotation Method



index
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.
index
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.
Deletes a waveform annotation from the channel.

Syntax

Visual Basic (Declaration) 
Public Function DeleteAnnotation( _
   ByVal index As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim index As Integer
Dim value As Integer
 
value = instance.DeleteAnnotation(index)
C# 
public int DeleteAnnotation( 
   int index
)
C++/CLI 
public:
int DeleteAnnotation( 
   int index
) 

Parameters

index
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.

Return Value

Number of annotations that are still associated with the channel after deleting this annotation.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features