TextRangeProviderWrapper - класс

Обёртка объекта автоматизации по работе с диапазонами текста.

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
C#
public class TextRangeProviderWrapper : MarshalByRefObject, 
	ITextRangeProvider
Inheritance
Object    MarshalByRefObject    TextRangeProviderWrapper
Implements
ITextRangeProvider

Методы

AddToSelectionAdds to the collection of highlighted text in a text container that supports multiple, disjoint selections.
CloneReturns a new ITextRangeProvider identical to the original ITextRangeProvider and inheriting all properties of the original.
CompareReturns a value that indicates whether the span (the Start endpoint to the End endpoint) of a text range is the same as another text range.
CompareEndpointsReturns a value that specifies whether two text ranges have identical endpoints.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
ExpandToEnclosingUnitExpands the text range to the specified text unit.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
FindAttributeReturns a text range subset that has the specified attribute value.
FindTextReturns a text range subset that contains the specified text.
GetAttributeValueRetrieves the value of the specified attribute across the text range.
GetBoundingRectanglesRetrieves a collection of bounding rectangles for each fully or partially visible line of text in a text range.
GetChildrenRetrieves a collection of all embedded objects that fall within the text range.
GetEnclosingElementReturns the innermost control that encloses the text range.
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
GetTextRetrieves the plain text of the range.
GetTypeGets the Type of the current instance.
(Унаследован от Object)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Унаследован от MarshalByRefObject)
MoveMoves the text range the specified number of text units.
MoveEndpointByRangeMoves one endpoint of a text range to the specified endpoint of a second text range.
MoveEndpointByUnitMoves one endpoint of the text range the specified number of text units within the document range.
RemoveFromSelectionRemoves a highlighted section of text, corresponding to the caller's Start and End endpoints, from the collection of highlighted text in a text container that supports multiple, disjoint selections.
ScrollIntoViewCauses the text control to scroll vertically until the text range is visible in the viewport.
SelectHighlights text in the text control corresponding to the text range Start and End endpoints.
ToStringReturns a string that represents the current object.
(Унаследован от Object)
UnwrapArgument 
WrapArgument(ITextRangeProvider, AutomationPeer) 
WrapArgument(ITextRangeProvider, AutomationPeer) 

Методы расширения

Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также