ImageGear Professional DLL v18.1 for Windows
MED_DCM_DS_exists
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_exists

Glossary Item Box

This function determines whether an image has a Data Set associated with it.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI MED_DCM_DS_exists(
        const HIGEAR hIGear, 
        LPBOOL lpExists
);

Arguments:

Name Type Description
hIGear const HIGEAR A HIGEAR handle to an image.
lpExists LPBOOL A far pointer that returns a BOOL. If it returns TRUE, a Data Set exists for the image; if it returns FALSE, a Data Set does not exist for the image.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Supply it with the HIGEAR handle to the image you want to check, and lpExists will return whether or not this image has a Data Set. See Working With DICOM Data Structures section for more information.

©2014. Accusoft Corporation. All Rights Reserved.