IAnchor interface (textstor.h)

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.

Inheritance

The IAnchor interface inherits from the IUnknown interface. IAnchor also has these types of members:

Methods

The IAnchor interface has these methods.

 
IAnchor::ClearChangeHistory

The IAnchor::ClearChangeHistory method clears the anchor change history flags.
IAnchor::Clone

The IAnchor::Clone method produces a new anchor object positioned at the same location, and with the same gravity, as the current anchor.
IAnchor::Compare

The IAnchor::Compare method compares the relative position of two anchors within a text stream.
IAnchor::GetChangeHistory

The IAnchor::GetChangeHistory method gets the history of deletions that have occurred immediately preceding or following the anchor.
IAnchor::GetGravity

The IAnchor::GetGravity method retrieves the gravity of the anchor in an IAnchor object.
IAnchor::IsEqual

The IAnchor::IsEqual method evaluates two anchors within a text stream and returns a Boolean value that specifies the equality or inequality of the anchor positions.
IAnchor::SetChangeHistoryMask

This method has not been implemented.
IAnchor::SetGravity

IAnchor::SetGravity method
IAnchor::Shift

The IAnchor::Shift method shifts the anchor forward or backward within a text stream.
IAnchor::ShiftRegion

IAnchor::ShiftRegion method
IAnchor::ShiftTo

The IAnchor::ShiftTo method shifts the current anchor to the same position as another anchor.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header textstor.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

IUnknown

Microsoft Active Accessibility