Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomDS::GetTimeRangeValue

Show in webframe

#include "Ltdic.h"

L_INT16 LDicomDS::GetTimeRangeValue(pElement, nIndex, pValue)

pDICOMELEMENT pElement;

/* pointer to a DICOMELEMENT structure */

L_UINT32 nIndex;

/* index used when multiple values are stored */

pVALUETIMERANGE pValue;

/* pointer to a VALUETIMERANGE structure */

Fills the VALUETIMERANGE structure, with the time range information stored in the Value Field of the specified element.

Parameter

Description

pElement

Pointer to a DICOMELEMENT structure within the Data Set.

nIndex

Index value that indicates which value to retrieve when more than one value is stored in the Value Field. The index is zero-based.

pValue

Pointer to a VALUETIMERANGE structure that will be filled with the time range value.

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

Comments

This function can be called only if the Value Representation of the Data Element is VR_TM. For more information about Value Representations, refer to Default Value Representation Table.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomDS::SetTimeRangeValue, LDicomDS::GetTimeValue, LDicomDS::SetTimeValue, LDicomDS::GetDateRangeValue, LDicomDS::GetDateTimeRangeValue, LDicomDS::GetDateTimeValue, LDicomDS::GetDateValue, LDicomDS::GetTimeValue

Topics:

Working with Data Sets

 

How to Disable the Automatic Loading of the default DICOM IOD Table

Example

For an example, refer to LDicomDS::GetDateRangeValue

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.