TextRange.moveStart Method
SharePoint Designer Developer Reference |
Moves the starting position of a TextRange object. Returns a Long that represents the number of units moved.
Syntax
expression.moveStart(Unit, Count)
expression Required. A variable that represents a TextRange object.
Parameters
Name | Required/Optional | Data Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Unit | Required | String | Specifies the type of unit. Can be one of the following values:
|
||||||||||
Count | Optional | Long | Specifies the number of units to move. This can be positive (moves the start of the range to the right) or negative (moves the start of the range to the left). The default is 1. |
Return Value
Long
See Also