CTextDocument2.Range2method
Retrieves a new text range for the active story of the document.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION Range2 (BYVAL cpActive AS LONG = 0, BYVAL cpAnchor AS LONG = 0) AS ITextRange2 PTR
Parameters
| Name | Description | |
|---|---|---|
cpActive | The active end of the new text range. The default value is 0; that is, the beginning of the story. | |
cpAnchor | The anchor end of the new text range. The default value is 0. |
Return value
The new text range.
Description
Retrieves a new text range for the active story of the document.
Reference
- Documented in Windows/WIndows Controls/RichEdit/CTextDocument2 Class.md
- Topic: CTextDocument2 Class