GridDivisions Property

 

The GrdiDivisions property 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; number of divisions

 

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

 

Used by: Ruler object