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

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

Sets the background color for preview images. 

 

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