Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetTriggerSamplePosition Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformGroup Class : SetTriggerSamplePosition Method



include
true to insert the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) into the dataset and then set its value, false to delete the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) from the dataset.
samplePosition
New trigger sample position.
include
true to insert the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) into the dataset and then set its value, false to delete the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) from the dataset.
samplePosition
New trigger sample position.
Sets the trigger sample position.

Syntax

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

Parameters

include
true to insert the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) into the dataset and then set its value, false to delete the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) from the dataset.
samplePosition
New trigger sample position.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

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