Creates and initializes an annotation object that is a container.
L_LTANN_API L_INT L_AnnCreateContainer(hWnd, pRect, fVisible, phObject)
Handle to the window for the container.
Coordinates of an object's rectangle are relative to its container object. The coordinates are interpreted using the container's scaling factors and offsets, which are described in Low-Level Coordinate System for Annotations.
Flag that indicates whether the container will be visible. Possible values are:
|TRUE||The container is visible.|
|FALSE||The container is not visible.|
Address of the variable to be updated with the handle to the annotation object.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
(Document and Medical) Before calling this function, you must declare a variable of data type HANNOBJECT. Then, pass the address of the variable in the
phObject parameter. This function will update the variable with the handle of the new annotation object.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries