| setEndPoint() This method is used to set the ending point of a TEXTRANGE element. The options for this method are as follows: type - The parameters are one of the following:
startToEnd
startToStart
endToStart
endToEnd
comparisonRange - This parameter is a TEXTRANGE element (object) created earlier and saved as a variable. syntax: setEndPoint (type , comparisonRange) This method is used with the following: textRange
|