LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AddChannel Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformGroup Class : AddChannel Method



index
Zero-based index of the new channel. This parameter defaults to -1, which will add the new channel at the end.
index
Zero-based index of the new channel. This parameter defaults to -1, which will add the new channel at the end.
Adds a channel to the waveform group.

Syntax

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

Parameters

index
Zero-based index of the new channel. This parameter defaults to -1, which will add the new channel at the end.

Return Value

A DicomWaveformChannel class if this method successeded, otherwise it will return null.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

  • A waveform in DICOM consists of one or more multiplex groups, each encoded into an item in the "Waveform Sequence" (5400,0100). All channels within a multiplex group are synchronously digitized at a common sampling frequency. Use this method to add a new channel to the waveform group.
  • This method returns an object that is managed by the class. Therefore, you should not free it when you are done 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