TextRange.IndentLevel property (PowerPoint)

Returns or sets the indent level for the specified text as an integer from 1 to 5, where 1 indicates a first-level paragraph with no indentation. Read/write.

Syntax

expression.IndentLevel

expression A variable that represents an TextRange object.

Return value

Long

Example

This example indents the second paragraph in shape two on slide two in the active presentation.

Application.ActivePresentation.Slides(2).Shapes(2).TextFrame _
    .TextRange.Paragraphs(2).IndentLevel = 2

See also

TextRange 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.