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 beginning of the document.
Syntax
object**.StartOfDocument** [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+HOME.
dsMove Does not extend the selection (the default).
Remarks
The StartOfDocument method has the same effect as pressing CTRL+HOME.
Example
The following example moves the insertion point to the beginning of the document and extends the selection:
ActiveDocument.Selection.StartOfDocument dsExtend
See Also EndOfDocument method.