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




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.
Adds a new item under the "Referenced Image Sequence" for the specified item under the "Graphic Annotation Sequence".

Syntax

Visual Basic (Declaration) 
Public Sub AddLayerImageReference( _
   ByVal graphicAnnSQItem As DicomElement, _
   ByVal imageSOPInstance As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim imageSOPInstance As String
 
instance.AddLayerImageReference(graphicAnnSQItem, imageSOPInstance)
C# 
public void AddLayerImageReference( 
   DicomElement graphicAnnSQItem,
   string imageSOPInstance
)
Managed Extensions for C++ 
public: void AddLayerImageReference( 
   DicomElement* graphicAnnSQItem,
   string* imageSOPInstance
) 
C++/CLI 
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.

Example

For an example, refer to FindFirstGraphicAnnSQItem.

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".

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