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



index
Zero-based index of the channel to delete. As an example, if there are 10 channels, the last one has an index of 9.
index
Zero-based index of the channel to delete. As an example, if there are 10 channels, the last one has an index of 9.
Deletes a channel from the waveform group

Syntax

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

Parameters

index
Zero-based index of the channel to delete. As an example, if there are 10 channels, the last one has an index of 9.

Return Value

Remaining number of channels in the waveform group after deleting this channel.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

Use this method to delete the specified channel from the waveform group.

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