GetTextObjectCount method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long GetTextObjectCount();

Overview

Refer to Working with DICOM Annotations

Remarks

The GetTextObjectCount method returns the number of the text annotation objects defined in one of the Items (the one specified by the CurrentElement property) of the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".

The "Graphic Annotation Sequence" Item should be specified by the CurrentElement property when calling the method.

The FindFirstGraphicAnnItem method and the MoveNextGraphicAnnItem method can be used to enumerate all the Items under the "Graphic Annotation Sequence" in the "Graphic Annotation Module".

This method and the GetLayerTextObjectCount method perform the same function.

See Also

Elements:

CreateTextObject method, GetTextObjectAttributes method, SetTextObjectAttributes method, RemoveTextObject method, RemoveAllTextObjects method, GetGraphicObjectCount method, FindFirstGraphicAnnItem method, MoveNextGraphicAnnItem method, GetLayerTextObjectCount method

Topics:

ILEADDicomDS Interface, IDicomTextObjectAttributes Interface

 

Dicom Annotations: Text Objects