ImageGear Professional DLL v17.1 for Windows Accusoft
MED_DCM_DS_exists
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > 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:

hIGear A HIGEAR handle to an image.
lpExists 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.

©2012. Accusoft Corporation. All Rights Reserved.