API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::gridMajor Method
OdDbAbstractViewportData::gridMajor Method
Syntax
C++
virtual OdInt16 gridMajor(const OdRxObject* pViewport) const = 0;
Parameters 
Description 
const OdRxObject* pViewport 
[in] Input pointer to the viewport object. 

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

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