The default highlight pen has a COLORREF value of 0xFFFFFF (white). This color will not work well with images that have many mid-range gray colors. A better selection for such cases would be 0xC0C0C0 (silver).
When working with automated annotations, change or obtain the color of the pen that is used for highlighting and selecting by calling the LAnnAutomation::SetAutoHilightPen or LAnnAutomation::GetAutoHilightPen function.
To change the highlight color back to the default color after changing the highlight color, you must call the LAnnAutomation::SetAutoHilightPen function and use a COLORREF value of 0xFFFFFF (white).
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