Range methods

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
 


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999