#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnInsert(hContainer, hObject, fStripContainer)
Inserts the specified annotation object into the specified container.
Handle to the container object, a specialized annotation object.
Handle to the annotation object to insert.
Flag that indicates whether to insert a container. Possible values are:
Value | Meaning |
---|---|
TRUE | If the hObject parameter specifies a container, only the objects in the container will be inserted into the new container. In this case, the container specified in hObject is destroyed. |
FALSE | If the hObject parameter specifies a container, the container and all objects within the container (objects and other containers ) will be inserted into the new container. |
If the hObject
parameter specifies an object, that object will be inserted into the new container.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
If hObject
is a single annotation object, set fStripContainer
to FALSE. That way the object itself is inserted.
If hObject is a container, setting fStripContainer to TRUE will insert only the objects within the container, not the container itself.
If hObject is a container, setting fStripContainer to FALSE will insert the container and all objects within the container.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_AnnCreate.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document