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



include
true to insert the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) into the dataset and then set its value, false to delete the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) from the dataset.
paddingValue
New waveform padding value.
include
true to insert the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) into the dataset and then set its value, false to delete the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) from the dataset.
paddingValue
New waveform padding value.
Sets the waveform padding value.

Syntax

Visual Basic (Declaration) 
Public Function SetWaveformPaddingValue( _
   ByVal include As Boolean, _
   ByVal paddingValue As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformGroup
Dim include As Boolean
Dim paddingValue As Integer
Dim value As Boolean
 
value = instance.SetWaveformPaddingValue(include, paddingValue)
C# 
public bool SetWaveformPaddingValue( 
   bool include,
   int paddingValue
)
C++/CLI 
public:
bool SetWaveformPaddingValue( 
   bool include,
   int paddingValue
) 

Parameters

include
true to insert the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) into the dataset and then set its value, false to delete the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) from the dataset.
paddingValue
New waveform padding value.

Return Value

true if the waveform padding value was set successfully, false if an error occurred.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

It is mandatory to set this value if the acquisition equipment adds padding. For more information refer to the "Waveform Padding Value" (5400,100A) element in the DICOM standard.

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