GlyphRun.GetNextCaretCharacterHit(CharacterHit) GlyphRun.GetNextCaretCharacterHit(CharacterHit) GlyphRun.GetNextCaretCharacterHit(CharacterHit) Method

定義

GlyphRun の論理方向にある、次の有効なキャレット文字ヒットを取得します。Retrieves the next valid caret character hit in the logical direction in the GlyphRun.

public:
 System::Windows::Media::TextFormatting::CharacterHit GetNextCaretCharacterHit(System::Windows::Media::TextFormatting::CharacterHit characterHit);
public System.Windows.Media.TextFormatting.CharacterHit GetNextCaretCharacterHit (System.Windows.Media.TextFormatting.CharacterHit characterHit);
member this.GetNextCaretCharacterHit : System.Windows.Media.TextFormatting.CharacterHit -> System.Windows.Media.TextFormatting.CharacterHit

パラメーター

characterHit
CharacterHit CharacterHit CharacterHit

次のヒット値の計算に使用する CharacterHitThe CharacterHit to use for computing the next hit value.

戻り値

論理方向にある次の有効なキャレット文字ヒットを表す CharacterHitA CharacterHit that represents the next valid caret character hit in the logical direction. 戻り値が characterHit と等しい場合、GlyphRun でそれ以上ナビゲートすることはできません。If the return value is equal to characterHit, no further navigation is possible in the GlyphRun.

注釈

以前の有効なキャレット文字ヒットを取得するGetPreviousCaretCharacterHitには、を使用します。To retrieve the previous valid caret character hit, use GetPreviousCaretCharacterHit.

適用対象