ITfRange::Clone method
The ITfRange::Clone method duplicates this range of text.
Syntax
HRESULT Clone( [out] ITfRange **ppClone );
Parameters
- ppClone [out]
-
Pointer to a new range object that references this range.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The method was unable to generate a pointer to the new range. |
Remarks
The resulting new range object can be modified without affecting the original. However, modifying the document that contains the new range might cause the original range's anchors to be repositioned.
The gravity of the original is preserved in the new range.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also