TextRange.setEndPoint Method
SharePoint Designer Developer Reference |
Sets the end point of one range based on the end point of another range.
Syntax
expression.setEndPoint(how, SourceRange)
expression Required. A variable that represents a TextRange object.
Parameters
Name | Required/Optional | Data Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
expression | Required | TextRange | An expression that returns a TextRange object. | ||||||||||
how | Required | String | Specifies the end point to transfer. The how parameter may be one of the following values:
|
||||||||||
SourceRange | Required | TextRange | Specifies the range from which the source end point is to be taken. |
See Also