API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::setGridMajor Method
OdDbAbstractViewportData::setGridMajor Method
Syntax
C++
virtual void setGridMajor(OdRxObject* pViewport, OdInt16 nMajor) const = 0;
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–2020. Open Design Alliance. All rights reserved.