←Select platform

GetLayerImageReferenceSOPInstance Method

Summary

Retrieves the SOP Instance UID for a referenced image (SOP Instance) under the "Referenced Image Sequence" in a certain graphic annotation item inside the "Graphic Annotation Module".

Syntax
C#
VB
C++
public string GetLayerImageReferenceSOPInstance( 
   DicomElement graphicAnnSQItem, 
   int imageIndex 
) 
Public Function GetLayerImageReferenceSOPInstance( _ 
   ByVal graphicAnnSQItem As DicomElement, _ 
   ByVal imageIndex As Integer _ 
) As String 
public: 
String^ GetLayerImageReferenceSOPInstance(  
   DicomElement^ graphicAnnSQItem, 
   int imageIndex 
)  

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0007,0001) in the "Graphic Annotation Module".

imageIndex
The zero-based index of the required SOP Instance UID.

Return Value

The SOP Instance UID for a referenced image (SOP Instance) under the "Referenced Image Sequence" in a certain graphic annotation item inside the "Graphic Annotation Module".

Remarks

This method will return the "SOP Instance UID" for a referenced image (SOP Instance) under the "Referenced Image Sequence" (0008,1140) in one of the items under the "Graphic Annotation Sequence" (0007,0001) in the "Graphic Annotation Module". Use this method along with GetLayerImageReferenceCount in order to enumerate all the referenced images under a certain "Graphic Annotation Sequence" item.

Example

For an example, refer to FindFirstGraphicAnnSQItem.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly