CreateTextObject method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short CreateTextObject(VARIANT_BOOL bCheckLayer);

Overview

Refer to Working with DICOM Annotations

Remarks

The CreateTextObject method creates a text annotation object by adding a new Item to the "Text Object Sequence" (0070,0008) under one of the Items (the one specified by the CurrentElement property) of the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module". The object will be created based on the values of the properties specified by the TextObjectAttributes property.

The "Graphic Annotation Sequence" Item should be specified by the CurrentElement property when calling the method. Also, the properties specified by the TextObjectAttributes property should be set to the desired values before calling the method.

The CreateGraphicAnnItem method can be used to add a new "Graphic Annotation Sequence" Item.

See Also

Elements:

GetTextObjectAttributes method, SetTextObjectAttributes method . RemoveTextObject method . GetTextObjectCount method, FindTextObjectItem method, CreateGraphicAnnItem method, CreateGraphicObject method

Topics:

ILEADDicomDS Interface, IDicomTextObjectAttributes Interface

 

Dicom Annotations: Text Objects