API Reference > OdDg Classes > OdDgColorTable Class > OdDgColorTable Methods > OdDgColorTable::correctPaletteForWhiteBackground Method
OdDgColorTable::correctPaletteForWhiteBackground Method
Syntax
C++
static bool correctPaletteForWhiteBackground(ODCOLORREF* palette);

If background is white MicroStation draws elements black instead of white. To do the same if background color is defined for this palette as white (element with index #254) then all elements in palette with white will be tuned to black.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.