GetGraphicObjectCount method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long GetGraphicObjectCount();

Overview

Refer to Working with DICOM Annotations

Remarks

The GetGraphicObjectCount method returns the number of the graphic 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 GetLayerGraphicObjectCount method perform the same function.

See Also

Elements:

CreateGraphicObject method, GetGraphicObjectAttributes method, SetGraphicObjectAttributes method, RemoveGraphicObject method, RemoveAllGraphicObjects method, GetTextObjectCount method, FindFirstGraphicAnnItem method, MoveNextGraphicAnnItem method, GetLayerGraphicObjectCount method

Topics:

ILEADDicomDS Interface, IDicomGraphicObjectAttributes Interface

 

Dicom Annotations: Graphic Objects