Options.GridDistanceHorizontal Property (Word)
Returns or sets the amount of horizontal space between the invisible gridlines that Word uses when you draw, move, and resize AutoShapes or East Asian characters in new documents. Read/write Single.
Syntax
expression .GridDistanceHorizontal
expression A variable that represents an Options collection.
Example
This example sets the horizontal and vertical distance between gridlines and then enables the Snap objects to grid feature for a new document.
With Options
.GridDistanceHorizontal = InchesToPoints(0.2)
.GridDistanceVertical = InchesToPoints(0.2)
.SnapToGrid = True
End With
Documents.Add