Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextSelection object
Removes one indent from all lines in a selection.
Syntax
object**.Unindent**
Parameters
object
An expression that evaluates to a TextSelection object.
Remarks
The Unindent method has the same effect as pressing SHIFT+TAB.
The Unindent method affects all lines whether they are completely or partially within the selection. The IndentSize and TabSize properties determine the number of columns that are unindented.
Example
The following example removes one indent from all lines in a selection:
ActiveDocument.Selection.Unindent
See Also DestructiveInsert method, Indent method, NewLine method, Overtype property, Text property.