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

Controls the grid for the specified viewport object.

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