L_DicomWaveGrpSetTriggerSamplePosition

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomWaveGrpSetTriggerSamplePosition(hDICOMWaveFormGroup, bInclude, uSamplePosition)

Sets the trigger sample position.

Parameters

HDICOMWAVEFORMGROUP hDICOMWaveFormGroup

A DICOM waveform group handle.

L_BOOL 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.

L_UINT32 uSamplePosition

New trigger sample position.

Returns

Value Meaning
TRUE The trigger sample position was set successfully.
FALSE An error occurred.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help