LDicomDS::GetPresStateImageRefCount

Summary

Retrieves number of images (SOP Instances) that are referenced in an item under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

Syntax

#include "Ltdic.h"

L_UINT16 LDicomDS::GetPresStateImageRefCount(pRefSeriesSQItem, pCount)

Parameters

pDICOMELEMENT pRefSeriesSQItem

Pointer to an item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

L_UINT * pCount

Pointer to a variable which will be updated with the number of referenced images.

Returns

Value Meaning
0 SUCCESS
>0 An error occurred. Refer to Return Codes.

Comments

Use this function along with LDicomDS::GetPresStateImageRefSOPInstance in order to enumerate all the referenced images under the specified "Referenced Image Sequence".

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomDS::GetPresStateImageRefSOPInstance.

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

LEADTOOLS DICOM C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.