AnnInsert method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnInsert(LEADTyp::L_HANDLE hContainer, LEADTyp::L_HANDLE hObject, bool bStripContainer);

Delphi Syntax

Function AnnInsert(hContainer: L_HANDLE; hObject: L_HANDLE; bStripContainer: Boolean): Integer;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Inserts the specified annotation object into the specified container.

If hObject is a single annotation object, set bStripContainer to False. That way the object itself is inserted.

If hObject is a container, setting bStripContainer to True will insert only the objects within the container, not the container itself.

If hObject is a container, setting bStripContainer to False will insert the container and all objects within the container.

See Also

Elements

AnnCut method, AnnPaste method, AnnPasteReady property, AnnRemove method, AnnInsert method, AnnCopy method, AnnCreateItem method, AnnCut method, AnnGetContainer method, AnnGetTopContainer method, AnnInsert method, AnnRemove method

Topics

Annotations (Document/Medical only): Using the Clipboard

 

Annotations (Document/Medical only): Creating and Deleting Annotations

 

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Implementing Automation

 

Displaying and Manipulating Annotation Objects