L_DicomFindFirstGraphicAnnSQItem

#include "l_bitmap.h"

L_LTDIC_API pDICOMELEMENT L_DicomFindFirstGraphicAnnSQItem(hDS)

Retrieves the first item under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".

Parameters

HDICOMDS hDS

A DICOM handle.

Returns

Value Meaning
!NULL A pointer to a DICOMELEMENT structure that contains the first item under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
NULL No items were found

Comments

This function returns the first item under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module". Use this function along with L_DicomFindNextGraphicAnnSQItem in order to enumerate all the items under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

L_INT DicomFindFirstGraphicAnnSQItemExample(HDICOMDS hPresStateDS) 
{ 
   pDICOMELEMENT pGraphicAnnSQItem; 
 
   pGraphicAnnSQItem = L_DicomFindFirstGraphicAnnSQItem(hPresStateDS); 
   while (pGraphicAnnSQItem != NULL)    
   { 
      // Do something ! 
      pGraphicAnnSQItem = L_DicomFindNextGraphicAnnSQItem(hPresStateDS, pGraphicAnnSQItem); 
   } 
 
   return DICOM_SUCCESS; 
} 
Help Version 20.0.2019.9.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help