API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setGridMajor Method
OdDbAbstractViewportDataForDbViewport::setGridMajor Method
Syntax
C++
void setGridMajor(OdRxObject* pViewport, OdInt16 nMajor) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
OdInt16 nMajor 
[in] Input major grid lines frequency. 

Sets the major grid lines frequency for the specified viewport object.

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