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
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for