Adds a new item to the "Referenced Image Sequence" under the "Presentation State Module" from a stream.
public void AddPresentationStateImageReference(
Public Overloads Sub AddPresentationStateImageReference( _
ByVal stream As Stream, _
ByVal frameNumbers() As Integer, _
ByVal framesCount As Integer _
Stream that contains the image(SOP Instance) to be referenced.
An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
Value that represents the number of frames being set.
This method will add a new item into the "Referenced Image Sequence" (0008,1140) under the "Presentation State Module", by passing the file name of the image (SOP Instance) to be referenced.
For an example, refer to SetPresentationStateInformation.