Gets the item element of the specified SOP instance under the "Referenced Image Sequence" (0008,1140) in the specified "Graphic Annotation Sequence" (0070,0001) item.
#include "Ltdic.h"
pDICOMELEMENT LDicomDS::GetLayerImageRefElement(pGraphicAnnSQItem, pszImageSOPInstance)
Pointer to an item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
SOP Instance UID of the image whose item element is to be retrieved.
| Value | Meaning |
|---|---|
| !NULL | SUCCESS |
| NULL | An error occurred. Refer to Return Codes. |
This function retrieves the item element of the specified SOP instance under the "Referenced Image Sequence" (0008,1140) in the specified "Graphic Annotation Sequence" (0070,0001) item.
Win32, x64
L_INT LDicomDS_GetLayerImageRefElementExample(LDicomDS& PresStateDS){pDICOMELEMENT pGraphicAnnSQItem = PresStateDS.FindFirstGraphicAnnSQItem();L_TCHAR* pszSOPInstanceUID = PresStateDS.GetPresStateImageRefSOPInstance(PresStateDS.FindFirstPresStateRefSeriesItem(),0);pDICOMELEMENT pElement = PresStateDS.GetLayerImageRefElement (pGraphicAnnSQItem, pszSOPInstanceUID);if (pElement){MessageBox( NULL, TEXT("Element item found."), TEXT("Note"), MB_OK);}return DICOM_SUCCESS;}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
