Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetChannelSamples16(IntPtr,Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformChannel Class > SetChannelSamples16 Method : SetChannelSamples16(IntPtr,Int32) Method



samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer
samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer
Sets 16-bit data for a channel.

Syntax

Visual Basic (Declaration) 
Overloads Public Function SetChannelSamples16( _
   ByVal samples As IntPtr, _
   ByVal count As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim samples As IntPtr
Dim count As Integer
Dim value As Integer
 
value = instance.SetChannelSamples16(samples, count)
C# 
public int SetChannelSamples16( 
   IntPtr samples,
   int count
)
C++/CLI 
public:
int SetChannelSamples16( 
   IntPtr samples,
   int count
) 

Parameters

samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer

Return Value

The actual number of samples set for the channel.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features