LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetPresentationStateImageReferenceSOPInstance Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetPresentationStateImageReferenceSOPInstance Method



refSeriesSQItem
An item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".
imageIndex
The zero-based index of the required SOP Instance UID.
refSeriesSQItem
An item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".
imageIndex
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 the "Presentation State Module". Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function GetPresentationStateImageReferenceSOPInstance( _
   ByVal refSeriesSQItem As DicomElement, _
   ByVal imageIndex As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim refSeriesSQItem As DicomElement
Dim imageIndex As Integer
Dim value As String
 
value = instance.GetPresentationStateImageReferenceSOPInstance(refSeriesSQItem, imageIndex)
C# 
public string GetPresentationStateImageReferenceSOPInstance( 
   DicomElement refSeriesSQItem,
   int imageIndex
)
C++/CLI 
public:
String^ GetPresentationStateImageReferenceSOPInstance( 
   DicomElement^ refSeriesSQItem,
   int imageIndex
) 

Parameters

refSeriesSQItem
An item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".
imageIndex
The zero-based index of the required SOP Instance UID.

Return Value

The SOP Instance UID of the specified referenced image (SOP Instance).

Example

Remarks

This method will return the "SOP Instance UID" for a referenced image (SOP Instance) under the "Referenced Image Sequence" (0008,1115) in one of the items under "Referenced Series Sequence" (0008,1115) in the "Presentation State Module". Call this method along with Leadtools.Dicom.DicomDataSet.GetPresentationStateImageReferenceCount in order to enumerate all the referenced images under the specified "Referenced Image Sequence".

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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