GetPresStateImageRefCount method (ILEADDicomDS Interface)
long GetPresStateImageRefCount(); | |
Overview |
Refer to Working with DICOM Annotations |
Remarks
The GetPresStateImageRefCount method returns the number of Image SOP Instances referenced by the "Referenced Image Sequence" (0008,1140) in one of the Items (the one specified by the CurrentElement property) under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".
The "Referenced Series Sequence" Item should be specified by the CurrentElement property when calling the method.
The FindFirstPresStateRefSeriesItem method and the MoveNextPresStateRefSeriesItem method can be used to enumerate all the Items under the "Referenced Series Sequence".
Having the CurrentElement property updated with an Item in the "Referenced Series Sequence", the images referenced by the "Referenced Image Sequence" under that Item can be enumerated using this method and the GetPresStateImageRefInstanceUID method.
See Also