Share via


RulerGuides.Item Property

Publisher Developer Reference

Returns an individual object from a specified collection. Read-only.

Syntax

expression.Item(Index)

expression   A variable that represents a RulerGuides object.

Parameters

Name Required/Optional Data Type Description
Item Required Long The number of the object to return.

Example

This example sets the position of the first ruler guide to 3 inches from the edge of the publication.

Visual Basic for Applications
  ActiveDocument.Pages(1).RulerGuides _
    .Item(1).Position = InchesToPoints(3)

See Also