IAnchor interface
The IAnchor interface is implemented by the TSF manager. Clients of Microsoft Active Accessibility use IAnchor anchor objects to delimit a range of text within a text stream.
The interface ID is IID_IAnchor.
Members
The IAnchor interface inherits from the IUnknown interface. IAnchor also has these types of members:
Methods
The IAnchor interface has these methods.
| Method | Description |
|---|---|
| ClearChangeHistory |
Clears the change history flags. |
| Clone |
Produces a new anchor object positioned at the same location, and with the same gravity, as the current anchor. |
| Compare |
Compares the relative position of two anchors within a text stream. |
| GetChangeHistory |
Gets the change history of deletions that have occurred immediately preceding or following the anchor. |
| GetGravity |
Retrieves the gravity of the anchor. |
| IsEqual |
Specifies the equality or inequality of the positions of two anchors. |
| SetChangeHistoryMask |
Not implemented. |
| SetGravity |
Sets the gravity of the anchor. |
| Shift |
Shifts the anchor forward or backward. |
| ShiftRegion |
Shifts the anchor into an adjacent region in the text stream. |
| ShiftTo |
Shifts the current anchor to the same position as another anchor. |
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