RulerDivisions Property

 

The RulerDivisions property returns or sets the number of ruler divisions per page unit. Returns an integer.

 

Syntax

object.RulerDivisions

object.RulerDivisions = nDiv

 

Parameter

Type

Description

nDiv

Integer

required; number of divisions

 

Example 1

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

 

Debug.Print Ruler.RulerDivisions

 

Example 2

This example demonstrates how to set sixteen divisions per page unit.

 

Ruler.RulerDivisions = 16

 

Used by: Ruler object