Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
The IAnchor interface inherits from the IUnknown interface. IAnchor also has these types of members:
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. |
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 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today