Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RemoveImageReferenceFromLayer Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : RemoveImageReferenceFromLayer 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 removed.
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 removed.
Removes a referenced image from the "Referenced Image Sequence" in the specified "Graphic Annotation Sequence" item.

Syntax

Visual Basic (Declaration) 
Public Sub RemoveImageReferenceFromLayer( _
   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.RemoveImageReferenceFromLayer(graphicAnnSQItem, imageSOPInstance)
C# 
public void RemoveImageReferenceFromLayer( 
   DicomElement graphicAnnSQItem,
   string imageSOPInstance
)
C++/CLI 
public:
void RemoveImageReferenceFromLayer( 
   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 removed.

Example

For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.

Remarks

This method removes a referenced image from the "Referenced Image Sequence" (0008,1140) in the specified "Graphic Annotation Sequence" (0070,0001) item.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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