The following VBA example sets the
Grid.Visible property of the grid to
True, displaying the grid in the drawing window. The grid type pattern is set to dots and the
SetFrequency method places five (
5) horizontal and vertical grid dots per square inch in the grid.