RulerGuides.Item property (Publisher)

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.

ActiveDocument.Pages(1).RulerGuides _ 
 .Item(1).Position = InchesToPoints(3)

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.