Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextSelection object
Moves the insertion point to the beginning of a line.
Syntax
object.StartOfLine [moveto][, extend]
Parameters
object
An expression that evaluates to a TextSelection object.
moveto
(Optional) A string constant of type DsStartOfLineOptions that represents the place to which the insertion point moves. Possible values are:
extend
(Optional) A string constant of type DsMovementOptions that specifies what to do with the selection. Possible values are:
Example
The following example moves the insertion point to the beginning of the line and extends the selection:
ActiveDocument.Selection.StartOfLine dsExtend
See Also EndOfLine method.