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

RulerLevels2.Item Method (Office)

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

Gets a member of the RulerLevels2 collection.

Syntax

expression. Item( Index )

expression An expression that returns a RulerLevels2 object.

Parameters

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

Concepts

RulerLevels2 Object

Other resources

RulerLevels2 Object Members

© 2018 Microsoft