CharacterHit(Int32, Int32) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la CharacterHit structure.
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)
Paramètres
- firstCharacterIndex
- Int32
Index du premier caractère qui a été atteint.
- trailingLength
- Int32
Dans le cas d’un bord de début, cette valeur est 0. Dans le cas d’un bord de fin, cette valeur correspond au nombre de points de code jusqu’à la position de pointage valide suivante.