Share via


TextRange.IndentLevel Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  Application.ActivePresentation.Slides(2).Shapes(2).TextFrame _
    .TextRange.Paragraphs(2).IndentLevel = 2

See Also