SetChannelSamples method (IDicomWaveformChannel Interface)
Overview |
Refer to Working with DICOM Waveforms. |
Remarks
The SetChannelSamples method sets the new samples for a channel. The ChannelSamples property contains the array of samples.
Before calling the SetChannelSamples method, storage must be allocated for the array by calling the SetNumberOfSamplesPerChannel method (lDicomWaveformGroup) for the waveform group object to which the channel belongs. In addition, the SampleInterpretation property must be set to the required Waveform Sample Interpretation before setting the samples.
The number of samples set will be the minimum of the size of the specified safearray and the number specified by the NumberOfSamples property.
See Also