API Reference > Classes > PRC Base Classes > OdPrcPreviewGenerator Class > OdPrcPreviewGenerator Methods > OdPrcPreviewGenerator::getDefaultColor Method
OdPrcPreviewGenerator::getDefaultColor Method
Syntax
C++
OdResult getDefaultColor(ODCOLORREF & defColor) const;
Parameters 
Description 
ODCOLORREF & defColor 
[out] A placeholder for the current default color value.
 

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

Retrieves the current default color that is used 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.