LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

GetLayerImageReferenceSOPInstance Method








An item element under the "Graphic Annotation Sequence" (0007,0001) in the "Graphic Annotation Module".
The zero-based index of the required SOP Instance UID.
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". .NET support WinRT support Silverlight support
Syntax
public string GetLayerImageReferenceSOPInstance( 
   DicomElement graphicAnnSQItem,
   int imageIndex
)
'Declaration
 
Public Function GetLayerImageReferenceSOPInstance( _
   ByVal graphicAnnSQItem As DicomElement, _
   ByVal imageIndex As Integer _
) As String
'Usage
 
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim imageIndex As Integer
Dim value As String
 
value = instance.GetLayerImageReferenceSOPInstance(graphicAnnSQItem, imageIndex)
public string GetLayerImageReferenceSOPInstance( 
   DicomElement graphicAnnSQItem,
   int imageIndex
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.GetLayerImageReferenceSOPInstance( 
   graphicAnnSQItem ,
   imageIndex 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
FindFirstGraphicAnnSQItem Method
FindNextGraphicAnnSQItem Method
GetLayerName Method
SetLayerName Method
CreateGraphicAnnSQItem Method
AddLayerImageReference Method
RemoveImageReferenceFromLayer Method
RemoveAllImageReferencesFromLayer Method
RemoveAllImageReferences Method
GetLayerImageReferenceElement Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features