Assembly: OpenSilver.dll
public interface ITextRangeProvider
Methods
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
ITextRangeProvider Clone()
Returns
|
Improve this Doc
View Source
Declaration
bool Compare(ITextRangeProvider range)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
int CompareEndpoints(TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ExpandToEnclosingUnit(TextUnit)
Declaration
void ExpandToEnclosingUnit(TextUnit unit)
Parameters
|
Improve this Doc
View Source
Declaration
ITextRangeProvider FindAttribute(int attributeId, object value, bool backward)
Parameters
Type |
Name |
Description |
System.Int32 |
attributeId |
|
System.Object |
value |
|
System.Boolean |
backward |
|
Returns
|
Improve this Doc
View Source
Declaration
ITextRangeProvider FindText(string text, bool backward, bool ignoreCase)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Boolean |
backward |
|
System.Boolean |
ignoreCase |
|
Returns
|
Improve this Doc
View Source
Declaration
object GetAttributeValue(int attributeId)
Parameters
Type |
Name |
Description |
System.Int32 |
attributeId |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Declaration
double[] GetBoundingRectangles()
Returns
Type |
Description |
System.Double[] |
|
|
Improve this Doc
View Source
Declaration
IRawElementProviderSimple[] GetChildren()
Returns
|
Improve this Doc
View Source
Declaration
IRawElementProviderSimple GetEnclosingElement()
Returns
|
Improve this Doc
View Source
Declaration
string GetText(int maxLength)
Parameters
Type |
Name |
Description |
System.Int32 |
maxLength |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
int Move(TextUnit unit, int count)
Parameters
Type |
Name |
Description |
TextUnit |
unit |
|
System.Int32 |
count |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint)
Parameters
|
Improve this Doc
View Source
Declaration
int MoveEndpointByUnit(TextPatternRangeEndpoint endpoint, TextUnit unit, int count)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
void RemoveFromSelection()
|
Improve this Doc
View Source
Declaration
void ScrollIntoView(bool alignToTop)
Parameters
Type |
Name |
Description |
System.Boolean |
alignToTop |
|
|
Improve this Doc
View Source
Declaration
Extension Methods