LDicomDS::GetOverlayCount

#include "ltdic.h"

L_UINT16 LDicomDS::GetOverlayCount(pCount)

L_UINT * pCount;

/* pointer to a variable */

Gets the number of overlays in the DICOM dataset.

Parameter

Description

pCount

Pointer to a variable to be updated with the overlay count.

Returns

0

The function was successful.

> 0

An error occurred. Refer to Return Codes.

Comments

This function will return the number of overlays inside a DICOM dataset by counting the number of repeating groups in the range (6000-601E).

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::GetOverlayAttributes, LDicomDS::GetOverlayActivationLayer, LDicomDS::GetOverlayBitmap, LDicomDS::GetOverlayBitmapList, LDicomDS::SetOverlayAttributes, LDicomDS::SetOverlayBitmap, LDicomDS::SetOverlayBitmapList, LDicomDS::DeleteOverlay

Topics:

Overlays Overview

 

Overlays

 

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

Example

For an example, refer to LDicomDS::GetOverlayBitmapList.