LDicomWaveformChannel::SetChannelMaximumValue

#include "Ltdic.h"

L_BOOL LDicomWaveformChannel::SetChannelMaximumValue(bInclude, nMaxValue)

Sets the "Channel Maximum Value" (5400,0112) element that corresponds to this channel.

Parameters

L_BOOL bInclude

Boolean flag that specifies whether the function should insert the "Channel Maximum Value" (5400,0112) element or remove it from the dataset.

Value Meaning
TRUE Insert the "Channel Maximum Value" (5400,0112) element (that corresponds to this channel) into the dataset and then set its value.
FALSE Delete the "Channel Maximum Value" (5400,0112) element (that corresponds to this channel) from the dataset.

L_INT32 nMaxValue

New channel maximum value.

Returns

Value Meaning
TRUE The channel maximum value was updated successfully.
FALSE An error occurred.

Comments

Set bInclude to TRUE to force the function to insert the element if it does not already exist in the dataset.

This function can also be used to delete the "Channel Maximum Value" (5400,0112) element that corresponds to this channel by setting bInclude to FALSE. In this case the nMaxValue parameter is ignored.

Required DLLs and Libraries

Platforms

Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.