LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RemoveGraphicObject Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : RemoveGraphicObject Method



graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObjIndex
The zero-based index of the graphic annotation object to remove.
graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObjIndex
The zero-based index of the graphic annotation object to remove.
Removes the graphic annotation object at the specified index. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Sub RemoveGraphicObject( _
   ByVal graphicAnnSQItem As DicomElement, _
   ByVal graphicObjIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim graphicObjIndex As Integer
 
instance.RemoveGraphicObject(graphicAnnSQItem, graphicObjIndex)
C# 
public void RemoveGraphicObject( 
   DicomElement graphicAnnSQItem,
   int graphicObjIndex
)
C++/CLI 
public:
void RemoveGraphicObject( 
   DicomElement^ graphicAnnSQItem,
   int graphicObjIndex
) 

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObjIndex
The zero-based index of the graphic annotation object to remove.

Example

For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.

Remarks

This method will remove the graphical annotation object at the specified index in the specified "Graphic Annotation Sequence" (0070,0001) item. The index is zero-based.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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