API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewTabRec Class > OdDbAbstractViewportDataForDbViewTabRec Methods > OdDbAbstractViewportDataForDbViewTabRec::setGridMajor Method
OdDbAbstractViewportDataForDbViewTabRec::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.