COLORREF getCurrentAnnoColor()
This method returns a standard WINDOWS COLORREF value corresponding to the currently assigned annotation color for the layer. The red, green, and blue channel values can be obtained from the COLORREF value as follows:
- COLORREF cRef = layrAPI.getCurrentAnnoColor();
- BYTE red = GetRValue(cRef);
- BYTE green = GetGValue(cRef);
- BYTE blue = GetBValue(cRef);