API Reference > Classes > PRC Base Classes > OdPrcPreviewGenerator Class > OdPrcPreviewGenerator Methods > OdPrcPreviewGenerator::setDefaultColor Method
OdPrcPreviewGenerator::setDefaultColor Method
Syntax
C++
OdResult setDefaultColor(ODCOLORREF defColor);
Parameters 
Description 
ODCOLORREF defColor 
[in] A new value of the default color.
 

Returns the eOk value if the new default color value was successfully set, otherwise the method returns an appropriate error code.

Sets the default color for preview images. 

 

The default color is used when a PRC entity does not have a color setting.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.