LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.
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
)
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 DicomDataSet.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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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