RulerLevels.Item method (PowerPoint)

Returns a single RulerLevel object from the specified RulerLevels collection.


expression.Item (Index)

expression A variable that represents a RulerLevels collection.


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



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

See also

RulerLevels Object

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.