createRange Method
.NET Framework 3.0
Creates a TextRange object from the current text selection, or a controlRange collection from a control selection.
Syntax
range = object.createRange()
Return Value
Returns the created TextRange object.
Standards Information
There is no public standard that applies to this method.
Applies To
selection, Selection Constructor
See Also
createControlRange
Caution - Anomalous return value
N.B. #1. This method changes to the createRangeCollection method and returns a collection object consisting of one item being the parent html element of the selection when text-selection is attempted by single mouse-click on an object of position:absolute or width:defined.
- 2/18/2011
- Mr. Raymond Kenneth Petry
