The Grid type exposes the following members.

Properties

  Name Description
Public property ColorMajor
Gets or sets the color of the major grid lines.
Public property ColorMinor
Gets or sets the color of the minor grid lines.
Public property CustomSpacing
Gets or sets the number of twips per tick mark when the Units property is set to Custom.
Public property PixelsPerTick
Gets the number of pixels between grid tick marks.
Public property Snap
Gets or sets whether mouse editing actions should snap to grid measurements.
Public property Units
Gets or sets the grid units (Metric, English, Automatic, or Custom).
Public property Visible
Gets or sets whether the grid is visible.

See Also