Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 WaveformGroupCount.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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