Sets the user mode for all objects. Design mode is for creating objects; run mode is for viewing them.
L_LTANN_API L_INT L_AnnSetUserMode(hObject, uMode)
Handle to the root container.
The constant that specifies the user mode. Possible values are:
|ANNUSER_DESIGN|| Design mode. Used for creating objects.|
|ANNUSER_RUN|| Run mode. Used for viewing or activating objects.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
You set this property on the root container, and all objects in the container inherit the property.
For an example, refer to Implementing an Automated Annotation Program.
For complete sample code, refer to the ANNOTATE example.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries