The SELCLR structure contains the percentages of cyan, magenta, yellow and black that make up each of the "Selected Colors".
Member |
Description |
uStructSize |
Size of this structure, in bytes. Use the sizeof operator to calculate this value. |
selClrs[9] |
An array of 9 SELCLRINF structures. Each SELCLRINF structure contains information about a specific color. |
The nine elements in the selClrs array refer to the "Selected Colors" of an image. Those selected colors are: the additive colors (Red, Green and Blue), the subtractive colors (Cyan, Magenta and Yellow), the highlights (White), the midtones (Neutral) and the shadows (Black).
Each of those "Selected Colors" has information about the percentages of cyan, magenta, yellow and black that defines that selective color. For more information, refer to SELCLRINF.
The indexes of the array are as follows:
Index |
Value |
Selected Color |
SELCLR_RED |
0x0000 |
Red |
SELCLR_YELLOW |
0x0001 |
Yellow |
SELCLR_GREEN |
0x0002 |
Green |
SELCLR_CYAN |
0x0003 |
Cyan |
SELCLR_BLUE |
0x0004 |
Blue |
SELCLR_MAGENTA |
0x0005 |
Magenta |
SELCLR_WHITE |
0x0006 |
White |
SELCLR_NEUTRAL |
0x0007 |
Neutral |
SELCLR_BLACK |
0x0008 |
Black |
This structure is used by LBitmap::SelectiveColor
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