Previous Document Next Document
Grid.SpacingY

Property SpacingY As Double

Member of Grid

The SpacingY property returns or sets the vertical spacing between grid lines or dots.

The minimum value is 0.005 inch.

You can use the SetFrequency method to specify the frequency of the lines or dots per unit length.

The following code example sets the spacing within the grid so that horizontal and vertical grid lines appear every .5 inches from each other:

Sub Test() 
 With ActiveDocument.Grid 
  .SpacingX = 0.5 
  .SpacingY = 0.5 
 End With 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.