Op Englesch liesen Editéieren

Deelen iwwer


GlyphRun.GetNextCaretCharacterHit(CharacterHit) Method

Definition

Retrieves the next valid caret character hit in the logical direction in the GlyphRun.

C#
public System.Windows.Media.TextFormatting.CharacterHit GetNextCaretCharacterHit(System.Windows.Media.TextFormatting.CharacterHit characterHit);

Parameters

characterHit
CharacterHit

The CharacterHit to use for computing the next hit value.

Returns

A CharacterHit that represents the next valid caret character hit in the logical direction. If the return value is equal to characterHit, no further navigation is possible in the GlyphRun.

Remarks

To retrieve the previous valid caret character hit, use GetPreviousCaretCharacterHit.

Applies to

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10