API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setGridMajor Method
OdDbViewport::setGridMajor Method
Syntax
C++
void setGridMajor(OdUInt16);
Parameters 
Description 
nGridLines 
[in] Number of minor grid lines between each major grid line in the range [1..100]. 

Specifies the number of minor grid lines between each major grid line. For example, if the passed value is 10, a major grid line is displayed at every 10-th minor grid line. 

 

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