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



graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
objectIndex
The zero-based index of the text annotation object whose item element is required.
graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
objectIndex
The zero-based index of the text annotation object whose item element is required.
Gets the item element of the specified text annotation object.

Syntax

Visual Basic (Declaration) 
Public Function GetTextObjElement( _
   ByVal graphicAnnSQItem As DicomElement, _
   ByVal objectIndex As Integer _
) As DicomElement
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim objectIndex As Integer
Dim value As DicomElement
 
value = instance.GetTextObjElement(graphicAnnSQItem, objectIndex)
C# 
public DicomElement GetTextObjElement( 
   DicomElement graphicAnnSQItem,
   int objectIndex
)
C++/CLI 
public:
DicomElement^ GetTextObjElement( 
   DicomElement^ graphicAnnSQItem,
   int objectIndex
) 

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
objectIndex
The zero-based index of the text annotation object whose item element is required.

Return Value

The item element of the specified text annotation object.

Example

For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.

Remarks

This method retrieves the item element under the "Text Object Sequence" (0070,0008) of the specified text annotation object, if the element could not be found it returns null.

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