TextRange Object
SharePoint Designer Developer Reference |
Represents a range or selection of text and elements in an HTML document.
Interfaces
This object implements the following interfaces
Remarks
Use the createTextRange method of the BodyElement object to return an TextRange object. The following example creates a range that includes the entire body of the active document, and then selects the entire document.
Visual Basic for Applications |
---|
|
Use the createRange method of the IHTMLSelectionObject object to return an TextRange object that represents the currently selected text and elements in the active document. The following example creates a range from the current selection in the active document.
Visual Basic for Applications |
---|
|
See Also