TextRange.expand Method
SharePoint Designer Developer Reference |
Expands the range so that partial units are completely contained and returns a Boolean that represents whether the method was successful.
Syntax
expression.expand(Unit)
expression Required. A variable that represents an TextRange object.
Parameters
Name | Required/Optional | Data Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unit | Required | String | Specifies the number of units to move in the range. Can be one of the following String values.
|
See Also