RulerLevel2 Object (Office)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Contains first-line indent and hanging indent information for an outline level.

The RulerLevel2 object is a member of the RulerLevels2 collection. The RulerLevels2 collection contains a RulerLevel2 object for each of the five available outline levels.

Use RulerLevels2(index), where index is the outline level, to return a single RulerLevel2 object. The following example sets the first-line indent and hanging indent for outline level one in body text on the slide master for the active presentation.

With ActivePresentation.SlideMaster _ 
 .FirstMargin = 9 
 .LeftMargin = 54 
End With