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

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

Retrieves the current background color that is used for preview images. 

 

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