Previous Document Next Document

Object Model Reference : Classes : G : Grid : Properties : Grid.SpacingY


Grid.SpacingY

Property SpacingY As Double

Description

Member of Grid

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

The minimum value is 0.005".

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

VBA example

The following VBA example sets the spacing within the grid so that horizontal and vertical grid lines appear every 0.5" 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 2013 Corel Corporation. All rights reserved.