API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::setGridOn Method
OdDbAbstractViewportData::setGridOn Method
Syntax
C++
virtual void setGridOn(OdRxObject* pViewport, bool gridOn) const = 0;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
bool gridOn 
[in] Input grid usage flag. 

Controls the grid for the specified viewport object.

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