RulerLevels2.Item method (Office)

Gets a member of the RulerLevels2 collection.

Syntax

expression.Item(Index)

expression An expression that returns a RulerLevels2 object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The index number of the object to be returned.

Return value

RulerLevel2

Example

This example sets the first-line indent and the hanging indent for outline level one in body text on the slide master for the active presentation.

With ActivePresentation.SlideMaster.TextStyles.Item(ppBodyStyle) 
 With .Ruler2.Levels.Item(1) ' sets indents for level 1 
 .FirstMargin = 9 
 .LeftMargin = 54 
 End With 
End With 

See also

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.