Share via


TextRange.IndentLevel Property (PowerPoint)

Returns or sets the 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

Concepts

TextRange Object Members

TextRange Object