- 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.
Visual Basic (Declaration) | |
---|---|
Public Function GetLayerImageReferenceSOPInstance( _ ByVal graphicAnnSQItem As DicomElement, _ ByVal imageIndex As Integer _ ) As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomDataSet Dim graphicAnnSQItem As DicomElement Dim imageIndex As Integer Dim value As String value = instance.GetLayerImageReferenceSOPInstance(graphicAnnSQItem, imageIndex) |
C# | |
---|---|
public string GetLayerImageReferenceSOPInstance( DicomElement graphicAnnSQItem, int imageIndex ) |
C++/CLI | |
---|---|
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".For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.
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 Leadtools.Dicom.DicomDataSet.GetLayerImageReferenceCount in order to enumerate all the referenced images under a certain "Graphic Annotation Sequence" item.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Reference
DicomDataSet ClassDicomDataSet Members
FindFirstGraphicAnnSQItem Method
FindNextGraphicAnnSQItem Method
GetLayerName Method
SetLayerName Method
CreateGraphicAnnSQItem Method
AddLayerImageReference Method
RemoveImageReferenceFromLayer Method
RemoveAllImageReferencesFromLayer Method
RemoveAllImageReferences Method
GetLayerImageReferenceElement Method