CTextDocument2.Rangemethod
Retrieves a text range object for a specified range of content in 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 Range (BYVAL cpActive AS LONG = 0, BYVAL cpAnchor AS LONG = 0) AS ITextRange PTR
Parameters
| Name | Description | |
|---|---|---|
cpActive | The start position of new range. The default value is zero, which represents the start of the document. | |
cpAnchor | The end position of new range. The default value is zero. |
Return value
Pointer to a ITextRange interface to the specified text range.
Description
Retrieves a text range object for a specified range of content in the active story of the document.
Reference
- Documented in Windows/WIndows Controls/RichEdit/CTextDocument2 Class.md
- Topic: CTextDocument2 Class