GridDistanceVertical Property

Applies To

Options object.

Description

Returns or sets the amount of vertical space between the invisible gridlines that Word uses when you draw, move, and resize AutoShapes. Read/write Single.

See Also

GridDistanceHorizontal property, GridOriginHorizontal property, GridOriginVertical property, SnapToGrid property.

Example

This example sets the horizontal and vertical distance between gridlines and then enables the Snap to grid feature.

With Options
    .GridDistanceHorizontal = InchesToPoints(0.2)
    .GridDistanceVertical = InchesToPoints(0.2)
    .SnapToGrid = True
End With