API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::gridMajor Method
OdDbAbstractViewportDataForDbViewport::gridMajor Method
Syntax
C++
OdInt16 gridMajor(const OdRxObject* pViewport) const;
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–2020. Open Design Alliance. All rights reserved.