SelectCurIndent

Syntax

SelectCurIndent

Remarks

Extends the selection forward from the insertion point until text with different left or right paragraph indents is encountered.

Example

This example determines whether all the paragraphs in the document are formatted with the same left and right indents and then displays a message box indicating the result:


StartOfDocument
SelectCurIndent
LineDown
If LineDown() = 0 Then
    MsgBox "All paragraphs share the same left and right indents."
Else
    MsgBox "Not all paragraphs share the same left and right indents."
End If

See Also

FormatParagraph, Indent, SelectCurAlignment, SelectCurSpacing, SelectCurTabs, UnIndent