RulerLevels.Item Method (PowerPoint)
Returns a single RulerLevel object from the specified RulerLevels collection.
Syntax
expression .Item(Index)
expression A variable that represents a RulerLevels collection.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Index |
Required |
Long |
The index number of the single RulerLevel object in the collection to be returned. |
Return Value
RulerLevel
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 .Ruler.Levels.Item(1) ' sets indents for level 1
.FirstMargin = 9
.LeftMargin = 54
End With
End With