API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setBackground Method
OdDbViewport::setBackground Method
Syntax
C++
void setBackground(const OdDbObjectId& backgroundId);
Parameters 
Description 
const OdDbObjectId& backgroundId 
[in] Identifier of the background object. 

Sets the view background for this viewport. 

 

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