When working with automated annotations, the background color of most objects created by a particular automation object can be changed by calling L_AnnSetBackColor for that automation object. However, the Note, Push-pin, Redact and Hilite objects cannot be changed using this function and must be handled differently.
The automation object contains 4 background color values:
one color for the Note and Push-pin objects
one color for the Hilite object
one color for the Redact object
one color for all other objects
When the automation object creates an object, it uses the corresponding background color. For example, if the automation object creates a Redact object, it uses the color stored for Redact objects. If the background for an object type is changed using the automation, the corresponding background color value stored for that object type is updated. Consequently, the next time the automation object creates an object of that type, the updated background color is used.
To change the background colors stored in the automation object:
OR
To determine the current background colors stored within the automation object, use the L_AnnGetAutoBackColor.
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