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