AnnInsert method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnInsert (OLE_HANDLE hContainer, OLE_HANDLE hObject, BOOL bStripContainer);

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:  AnnCreate method, AnnDefine, AnnDestroy method, AnnGetVisible method, AnnSetAutoDefaults method, AnnSetSelected method, AnnSetVisible method

Topics:  Annotations (Document/Medical only): Object Manipulation