RulerDivisions Property

RulerDivisions 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

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

Example 3

This script displays all the properties in the Ruler object.

Used by: Ruler object