共用方式為


GlyphRun.GetNextCaretCharacterHit(CharacterHit) 方法

定義

擷取 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
Public Function GetNextCaretCharacterHit (characterHit As CharacterHit) As CharacterHit

參數

characterHit
CharacterHit

要用於計算下一個點擊值的 CharacterHit

傳回

CharacterHit

CharacterHit,表示邏輯方向的下一個有效插入號字元點擊。 如果傳回值等於 characterHit,則不會在 GlyphRun 中進一步巡覽。

備註

若要擷取先前的有效插入號字元點擊,請使用 GetPreviousCaretCharacterHit

適用於