Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
GetPresentationStateImageReferenceCount Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetPresentationStateImageReferenceCount Method




refSeriesSQItem
An item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".
Retrieves number of images (SOP Instances) that are referenced in an item under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

Syntax

Visual Basic (Declaration) 
Public Function GetPresentationStateImageReferenceCount( _
   ByVal refSeriesSQItem As DicomElement _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim refSeriesSQItem As DicomElement
Dim value As Integer
 
value = instance.GetPresentationStateImageReferenceCount(refSeriesSQItem)
C# 
public int GetPresentationStateImageReferenceCount( 
   DicomElement refSeriesSQItem
)
Managed Extensions for C++ 
public: int GetPresentationStateImageReferenceCount( 
   DicomElement* refSeriesSQItem
) 
C++/CLI 
public:
int GetPresentationStateImageReferenceCount( 
   DicomElement^ refSeriesSQItem
) 

Parameters

refSeriesSQItem
An item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

Return Value

The number of referenced images.

Example

For an example, refer to SetPresentationStateInformation.

Remarks

This method will return the number of images (SOP Instances) 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 GetPresentationStateImageReferenceSOPInstance in order to enumerate all the referenced images under the specified "Referenced Image Sequence".

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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