TextPointer.GetTextRunLength(LogicalDirection) Metoda

Definice

Vrátí počet znaků Unicode mezi aktuálním TextPointer a dalším netextovým symbolem v zadaném logickém směru.

public:
 int GetTextRunLength(System::Windows::Documents::LogicalDirection direction);
public int GetTextRunLength (System.Windows.Documents.LogicalDirection direction);
member this.GetTextRunLength : System.Windows.Documents.LogicalDirection -> int
Public Function GetTextRunLength (direction As LogicalDirection) As Integer

Parametry

direction
LogicalDirection

Jedna z LogicalDirection hodnot, která určuje logický směr, ve kterém se má spočítat počet znaků.

Návraty

Int32

Počet znaků Unicode mezi aktuálním TextPointer a dalším netextovým symbolem. Toto číslo může být 0, pokud neexistuje sousední text.

Poznámky

Za symbol se považuje některý z následujících způsobů:

Platí pro