Shows/hides a grid of points or lines with optional snapping.
Visual Basic |
---|
Public Function SetAxesGrid( _ ByVal x As Double, _ ByVal y As Double, _ ByVal bShowGrid As Integer, _ ByVal bShowPoints As Integer, _ ByVal bAllowSnaps As Integer _ ) As Integer |
True
|
Show the grid. |
False
|
Hide the grid. |
True
|
Display the grid as points. |
False
|
Display the grid as lines. |
True
|
Allow snapping on the grid points. |
False
|
Disallow snapping on the grid points. |
The 'G' snapcode can be used to force a snap to a grid point. Grid snapping may be enabled without displaying the grid.
Available: MD ME OD
Group:
sis.SetAxesGrid (10000, 10000, True, False, True)
Creates a 10km grid, displaying a line grid with snaps.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).