API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewTabRec Class > OdDbAbstractViewportDataForDbViewTabRec Methods > OdDbAbstractViewportDataForDbViewTabRec::setGridOn Method
OdDbAbstractViewportDataForDbViewTabRec::setGridOn Method
Syntax
C++
void setGridOn(OdRxObject* pViewport, bool gridOn) const;
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.