CharacterHit(Int32, Int32) 建構函式

定義

初始化 CharacterHit 結構的新執行個體。

public:
 CharacterHit(int firstCharacterIndex, int trailingLength);
public CharacterHit (int firstCharacterIndex, int trailingLength);
new System.Windows.Media.TextFormatting.CharacterHit : int * int -> System.Windows.Media.TextFormatting.CharacterHit
Public Sub New (firstCharacterIndex As Integer, trailingLength As Integer)

參數

firstCharacterIndex
Int32

遭到點擊之第一個字元的索引。

trailingLength
Int32

若為前端邊緣,此值為 0。 如果是尾端邊緣,則這個值是下一個有效插入號位置之前的字碼指標數。

適用於