LEADTOOLS DICOM C DLL Help > Function References > L_DicomWaveGrpSetTriggerSamplePosition |
#include "Ltdic.h"
L_LTDIC_API L_BOOL L_DicomWaveGrpSetTriggerSamplePosition(hDICOMWaveFormGroup, bInclude, uSamplePosition)
HDICOMWAVEFORMGROUP hDICOMWaveFormGroup; |
/* a DICOM waveform group handle */ |
L_BOOL bInclude; |
/* dataset insertion/removal flag */ |
L_UINT32 uSamplePosition; |
/* trigger sample position */ |
Sets the trigger sample position.
Parameter |
Description |
hDICOMWaveFormGroup |
A DICOM waveform group handle |
|
bInclude |
Specifies whether the function should insert the "Trigger Sample Position" (0018,106E) element or remove it from the DICOM dataset. |
|
|
Value |
Meaning |
|
TRUE |
Insert the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) into the dataset and then set its value. |
|
FALSE |
Delete the "Trigger Sample Position" (0018,106E) element (that corresponds to this waveform group) from the dataset. |
uSamplePosition |
New trigger sample position. |
Returns
TRUE |
The trigger sample position was set successfully. |
FALSE |
An error occurred. |
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64, Linux.
See Also
Functions: |
Topics: |
Example
For an example, refer to L_DicomChannelSetSamples8.