 
     
     
     
     
     
     
     
    
    | IntelliCAD 11.1 Object Library | |
| SetGridSpacing Method | |
| See Also | |
|   | 
- Xspacing
- The grid spacing along the x-axis.
- Yspacing
- The grid spacing along the y-axis.
| PViewport Object : SetGridSpacing Method | 
 Description
Description
Sets the grid spacing value.
             Syntax
Syntax
             Parameters
Parameters
- Xspacing
- The grid spacing along the x-axis.
- Yspacing
- The grid spacing along the y-axis.
 Example
Example
Sub Example_SetGridSpacing() 
 
 
 
 
 
 
 
 
 
 
            
            
            
            ' This example sets the current X- and Y-grid spacing to 2.
Dim viewportObj As IntelliCAD.Viewport
Set viewportObj = ThisDocument.ActiveViewport
' Turn on the grid and reset the viewport to see it come on.
viewportObj.GridOn = True
ThisDocument.ActiveViewport = viewportObj
' Set the current grid spacing
viewportObj.SetGridSpacing 2, 2
ThisDocument.ActiveViewport = viewportObj
End Sub
 
                         en
  en italiano
 italiano čeština
 čeština Deutsch
 Deutsch français
 français hrvatski
 hrvatski magyar
 magyar polski
 polski српски
 српски русский
 русский 中文
 中文 中文
 中文 한국어
 한국어 español
 español