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




index
Index to the waveform annotation to be retrieved. This index is zero-based. As an Example, if you are retrieving the 3rd waveform annotation, use an index of 2.
Gets the channel annotation.

Syntax

Visual Basic (Declaration) 
Public Function GetAnnotation( _
   ByVal index As Integer _
) As DicomWaveformAnnotation
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim index As Integer
Dim value As DicomWaveformAnnotation
 
value = instance.GetAnnotation(index)
C# 
public DicomWaveformAnnotation GetAnnotation( 
   int index
)
Managed Extensions for C++ 
public: DicomWaveformAnnotation* GetAnnotation( 
   int index
) 
C++/CLI 
public:
DicomWaveformAnnotation^ GetAnnotation( 
   int index
) 

Parameters

index
Index to the waveform annotation to be retrieved. This index is zero-based. As an Example, if you are retrieving the 3rd waveform annotation, use an index of 2.

Return Value

The channel annotation.

Example

For an example, refer to WaveformGroupCount.

Remarks

  • This method retruns DicomWaveformAnnotation class that describes one of waveform annotations associated with this channel.
  • This method returns null if the index is out of range or if the channel has no annotations associated with it.

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