Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbViewport::isGridAdaptive Method
Syntax
C++
bool isGridAdaptive() const;

Checks whether the grid adapts to display fewer or more lines in the viewport than the value specified by the GRIDUNIT setting. An adaptive grid can be useful to avoid issues when a viewport is zoomed out too much and the grid becomes too dense, or on the contrary, when a viewport is zoomed in too much, there can be too few lines to display the grid.

true if the grid is adaptive, false otherwise.

Copyright © 2002-2022. Open Design Alliance All rights reserved.