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
Moves the insertion point to the end of the document.
Syntax
object**.EndOfDocument** [extend]
Parameters
object
An expression that evaluates to a TextSelection object.
extend
(Optional) A string constant of type DsMovementOptions that specifies what to do with the selection. Possible values are:
dsExtend Extends the selection. This is the same as pressing CTRL+SHIFT+END.
dsMove Does not extend the selection (the default).
Remarks
The EndOfDocument method has the same effect as pressing CTRL+END.
Example
The following example moves the insertion point to the end of the current document:
ActiveDocument.Selection.EndOfDocument
See Also StartOfDocument method.