TextRangeProviderWrapperMove - метод

Moves the text range the specified number of text units.

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
C#
public int Move(
	TextUnit unit,
	int count
)

Параметры

unit  TextUnit
The text unit boundary.
count  Int32
The number of text units to move. A positive value moves the text range forward, a negative value moves the text range backward, and 0 has no effect.

Возвращаемое значение

Int32
The number of units actually moved. This can be less than the number requested if either of the new text range endpoints is greater than or less than the DocumentRange endpoints.

Реализации

ITextRangeProviderMove(TextUnit, Int32)

См. также