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



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

Syntax

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

Parameters

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

Example

For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.

Remarks

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

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