Table of contents
TOC
Collapse the table of content
Expand the table of content

RulerLevels.Item Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a single RulerLevel object from the specified RulerLevels collection.

Syntax

expression. Item( Index )

expression A variable that represents a RulerLevels collection.

Parameters

NameRequired/OptionalData TypeDescription
IndexRequiredLongThe 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

See also

Concepts

RulerLevels Object

© 2018 Microsoft