Editare

Partajați prin


CharacterHit(Int32, Int32) Constructor

Definition

Initializes a new instance of the 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)

Parameters

firstCharacterIndex
Int32

Index of the first character that got hit.

trailingLength
Int32

In the case of a leading edge, this value is 0. In the case of a trailing edge, this value is the number of code points until the next valid caret position.

Applies to