GridDivisions Property

GridDivisions returns or sets the number of grid divisions per page unit. Returns an integer.

Syntax

object.GridDivisions

object. GridDivisions = nDiv

Parameter

Type

Description

nDiv

Integer

required

Example 1

This example demonstrates how to return the number of grid divisions per page unit.

Debug.Print Ruler.GridDivisions

Example 2

This example demonstrates how to set two grid divisions per page unit.

Ruler.GridDivisions = 2

Example 3

This script displays all the properties in the Ruler object.

Used by: Ruler object