API Reference > Namespaces > OdDbGsManager Namespace > Functions > OdDbGsManager::setupPalette Function
OdDbGsManager::setupPalette Function
Syntax
C++
TOOLKIT_EXPORT void setupPalette(OdGsDevice* device, OdGiContextForDbDatabase* giContext, OdDbStub* layoutId = 0, ODCOLORREF palBackground = ODRGBA(0,0,0,0));

DbGsManager.h

Setups OdGsDevice-derived object with the palette associated with specified layout.

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