Error processing SSI file
LEADTOOLS Medical (Leadtools.Dicom assembly)

Show in webframe

AddLayerImageReference Method








An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
Character string that contains the SOP Instance UID of the image to be added.
Adds a new item under the "Referenced Image Sequence" for the specified item under the "Graphic Annotation Sequence".
Syntax
public void AddLayerImageReference( 
   DicomElement graphicAnnSQItem,
   string imageSOPInstance
)
'Declaration
 
Public Sub AddLayerImageReference( _
   ByVal graphicAnnSQItem As DicomElement, _
   ByVal imageSOPInstance As String _
) 
'Usage
 
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim imageSOPInstance As String
 
instance.AddLayerImageReference(graphicAnnSQItem, imageSOPInstance)
public void AddLayerImageReference( 
   DicomElement graphicAnnSQItem,
   string imageSOPInstance
)
 function Leadtools.Dicom.DicomDataSet.AddLayerImageReference( 
   graphicAnnSQItem ,
   imageSOPInstance 
)
public:
void AddLayerImageReference( 
   DicomElement^ graphicAnnSQItem,
   String^ imageSOPInstance
) 

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
imageSOPInstance
Character string that contains the SOP Instance UID of the image to be added.
Remarks
This method adds a referenced image to the "Referenced Image Sequence" (0008,1140) in the specified "Graphic Annotation Sequence" (0070,0001) item in the "Graphic Annotation Module". This image should be defined previously in the "Presentation State Module".
Example
For an example, refer to FindFirstGraphicAnnSQItem.
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet Members
FindFirstGraphicAnnSQItem Method
FindNextGraphicAnnSQItem Method
GetLayerName Method
SetLayerName Method
CreateGraphicAnnSQItem Method
GetLayerImageReferenceCount Method
RemoveImageReferenceFromLayer Method
RemoveAllImageReferencesFromLayer Method
RemoveAllImageReferences Method
GetLayerImageReferenceElement Method

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