API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setGridBoundToLimits Method
OdDbAbstractViewportDataForDbViewport::setGridBoundToLimits Method
Syntax
C++
void setGridBoundToLimits(OdRxObject* pViewport, bool gridDispFlag) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
bool gridDispFlag 
[in] Input flag for whether the grid is bound to limits. 

Controls whether the grid is bound to limits for the specified viewport object.

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