LayerAPI.overrideDefaultAnnoColor

 

void overrideDefaultAnnoColor(long colorRef)

This method sets the current annotation color for the layer to colorRef, where colorRef is an WINDOWS COLORREF value.  A COLORREF value can be defined using the WINDOWS RGB macro, as follows:

COLORREF colorRef = RGB(r, g, b)

where r, g, and b are byte values between 0 and 255.

The color defined via this method will be used during all subsequent calls to doAnnotation for this layer.