←Select platform

AddChannel Method

Summary

Adds a channel to the waveform group.

Syntax
C#
VB
C++
public DicomWaveformChannel AddChannel( 
   int index 
) 
Public Function AddChannel( _ 
   ByVal index As Integer _ 
) As DicomWaveformChannel 
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 succeeded;otherwise, it will return null.

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

Example

For an example, refer to WaveformGroupCount.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly