API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::isGridOn Method
OdDbAbstractViewportDataForDbViewport::isGridOn Method
Syntax
C++
bool isGridOn(const OdRxObject* pViewport) const;
Parameters 
Description 
const OdRxObject* pViewport 
[in] Input pointer to the viewport object. 

Returns true if and only if the grid is on for the specified viewport object.

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