GridOriginVertical Property

Applies To

Options object.

Description

Returns or sets the point, relative to the top of the page, where you want the invisible grid for drawing, moving, and resizing AutoShapes to begin. Read/write Single.

See Also

GridDistanceHorizontal property, GridDistanceVertical property, GridOriginHorizontal property, SnapToGrid property.

Example

This example sets the horizontal and vertical point of origin for the grid, sets the horizontal and vertical distance between gridlines, and then enables the Snap to grid feature.

With Options
    .GridOriginHorizontal = InchesToPoints(1)
    .GridOriginVertical = InchesToPoints(2)
    .GridDistanceHorizontal = InchesToPoints(0.2)
    .GridDistanceVertical = InchesToPoints(0.2)
    .SnapToGrid = True
End With