In addition to the methods it inherits from the Selection interface, the Range interface supports one method, Select.
Select | |
Returns | No return value |
Description | Sets the user's selection to the selection represented by the specified Range object. Until they are selected, Range objects are `invisible'. |
Usage | |
JScript | Range_object.Select; |
VBScript | Range_object.Select |
Example |
// SoftQuad Script Language JSCRIPT: var rng=ActiveDocument.Range; rng.SelectContainerContents(); rng.Select(); // move the user's selection |
Copyright © SoftQuad Software Inc. 1999