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

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

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