 
     
     
     
     
     
     
     
    
    | IntelliCAD 11.1 Object Library | |
| SetSnapSpacing Method | |
| See Also | |
|   | 
- Xspacing
- The snap spacing along the x-axis.
- Yspacing
- The snap spacing along the y-axis.
| PViewport Object : SetSnapSpacing Method | 
 Description
Description
Sets the snap spacing value.
             Syntax
Syntax
             Parameters
Parameters
- Xspacing
- The snap spacing along the x-axis.
- Yspacing
- The snap spacing along the y-axis.
 Example
Example
Sub Example_SetSpacing() 
 
 
 
 
 
 
 
 
 
 
            
            
            
            ' This example sets the current X- and Y-snap spacing to 0.5.
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 snap spacing
viewportObj.SetSnapSpacing 0.5, 0.5
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