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