Home > Article > Web Front-end > Reference given by msdn about setEndPoint_Basic knowledge
Regarding setEndPoint, the reference given by msdn is:
TextRange.setEndPoint(sType, oTextRange)
oTextRange is another TextRange object
sType is a string type. There are 4 options.
StartToEnd
StartToStart
EndToStart
EndToEnd
"A text range has two endpoints: one at the beginning of the text range and one at the end."
text range There are 2 endpoints, one at the beginning and one at the end