GlyphRun.GetPreviousCaretCharacterHit(CharacterHit) GlyphRun.GetPreviousCaretCharacterHit(CharacterHit) GlyphRun.GetPreviousCaretCharacterHit(CharacterHit) Method

定義

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

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

パラメーター

characterHit
CharacterHit CharacterHit CharacterHit

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

戻り値

論理方向にある前の有効なキャレット文字ヒットを表す CharacterHitA CharacterHit that represents the previous 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.

注釈

[次へ] の有効なキャレット文字ヒットを取得するには使用GetNextCaretCharacterHitします。To retrieve the next valid caret character hit, use GetNextCaretCharacterHit.

適用対象