TextRangeProviderWrapper - класс

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

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
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.
CompareEndpoints 
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
ExpandToEnclosingUnit 
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)
MemberwiseClone()Creates a shallow copy of the current Object.
(Унаследован от Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Унаследован от MarshalByRefObject)
Move 
MoveEndpointByRange 
MoveEndpointByUnit 
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)
InternalMarkerCanvas Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также